Search by tag: git
7 articles
Git refusing to delete a remote branch because it is set as current
I wanted to do some clean-up on a remote repository, which contained a lot of obsolete branches. But one of them returned the following error: As this verbose message explains, I was trying to delete the branch named "alpha", which was set as the current branch on the remote repository. It was an…
Git: show all branches on a remote repository
The command below displays all the branches on the remote repository called "origin", including those that are not tracked locally. It also displays local branches configured to be pulled or pushed and their current state. Source To list only the branches that are tracked locally, use: