gitHow to show current branch
Usage example
git branch
output
test1
* test2
main
More of Git
- How to view project's short history
- How to undo "git add" before commit
- How to delete local branch
- How to update forked repository from master
- How to list all revisions
- Remove an existing remote
- How to check patch (dry-run) before applying it
- How to view project's detailed history
- How to push local branch to a remote repository
- How to update a branch from master
See more codes...