gitHow to show current branch
Usage example
git branch
output
test1
* test2
main
More of Git
- How to undo "git add" before commit
- Stash current changes without commit
- How to rename local branch
- How to view project's detailed history
- Remove an existing remote
- How to see difference between working directory and last commit
- How to untrack a file
- How to unstash changes
- How to commit all changes
- How to undo "git add" on all files before commit
See more codes...