Digital Marketing

list branches in Git

The command to list all branches in local and remote repositories is:

$ git branch -a

Only listing the remote branches from Git Bash then use this command:

$ git branch -r

Use the show-branch command for seeing the branches and their commits as follows:

$ git show-branch

Comments

Popular posts from this blog

Fixed WSL sshd: no hostkeys available -- exiting

PowerMTA pmta command

How to fix: mv: failed to preserve ownership