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
- Remove an existing remote
- How to view stashed changes
- How to untrack a file
- How to update forked repository from master
- How to commit
- How reset all local changes
- How to revert repository back to last commit
See more codes...