gitHow to show current branch
Usage example
git branch
output
test1
* test2
main
More of Git
- How to rename local branch
- How to rename a branch
- How to list all tags
- How to abort conflicting merge
- How to delete all local branches which has been deleted on the remote
- How to list all commits
- How to view project's short history
- How to edit last commit message
- How to view project's detailed history
- How to undo "git add" before commit
See more codes...