My git commands cheatsheet
Basic commands
- Configure the author name and email address to be used with commits
-
git config --global user.name "Roland dela Pena" git config --global user.email [email protected]
- Initialize a new local repository
-
git init
- Check out a local repository
-
git clone /path
- Check out a remote repository