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 view diff with stashed files
- Make a new branch with uncommitted changes
- How to untrack a file
- How to unstash changes
- How to update a branch from master
- How to rollback to specific commit
- How to rename a branch
- How to check patch (dry-run) before applying it
- How many lines of code from specific author
See more codes...