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 project's detailed history
- How to rename local branch
- How to merge branch to master
- Remove an existing remote
- How to push forked repository to original master
- How to delete all local branches which has been deleted on the remote
- How to list not yet pushed commits
- How to see difference between working directory and last commit
- Stash current changes without commit
See more codes...