gitHow to show current branch
Usage example
git branch
output
test1
* test2
main
More of Git
- How to view project's detailed history
- How to undo "git add" before commit
- Remove an existing remote
- How to rename local branch
- How to update forked repository from master
- How to rename a branch
- How to view project's short history
- Make a new branch with uncommitted changes
- How to view merge conflicts
- How to view diff with stashed files
See more codes...