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 revert repository back to last commit
- How to view project's short history
- How to rename a branch
- How to view project's detailed history
- How to rename local branch
- Remove an existing remote
- How to untrack a file
- How to view diff with stashed files
- How to merge branch to master
See more codes...