A brief introduction to Git
Tweet-it!Few must-know commands to start working with Git.
To tell Git who you are:
git config --global user.email "victor.perez.berruezo@gmail.com"
git config --global user.name "vperezb"
Clone a repo:
git clone git@path/user/repo
To stash all:
git add .
To stash specific file:
git add <file>
To commit:
git commit -m "this is the commit message"
To push to the server:
git push origin master
Written on December 31, 2017