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 view project's short history
- Stash current changes without commit
- How to check patch (dry-run) before applying it
- How to undo "git add" before commit
- How to rename local branch
- How to revert repository back to last commit
- Remove an existing remote
- How to push local branch to a remote repository
- How to view diff with stashed files
See more codes...