gitHow to show current branch
Usage example
git branch
output
test1
* test2
main
More of Git
- How to undo "git add" before commit
- How to untrack a file
- How to push new tag
- How to list all revisions
- How to delete all local branches which has been deleted on the remote
- Make a new branch with uncommitted changes
- How to update forked repository from master
- How to view diff with stashed files
- How to uncommit last commit but keep changes
See more codes...