Git Configuration
This post is specific to VS Code.
Setting Up
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
Create Git Alias to Type Less
Set up for the most commonly use git command. Read more here Git.
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.ci commit
git config --global alias.st status
git config --global alias.unstage 'reset HEAD --'
git config --global alias.last 'log -1 HEAD'
VS Code Source Control
Alternatively, we can just use VS code source control UI to perform all the common commands.