Collection of useful git commands
Get log without switch to other branch
git log your-branch-name
Disable auto CRLF
git config --global core.autocrlf false
https://stackoverflow.com/questions/155274 …
Read more...
When you work with git command line, sometimes you want to know which branch you are working on.
You can use this git command to get current working branch name.
git name-rev --name-only HEAD
To …
Read more...