Published: July 13, 2020
This cheatsheet is a small collection of handy snippets for quick reference in tricky situations. Feel free to suggest edits, propose additions, complain about something, disagree with content or such and the like. Every feedback is a welcome one.
git init Creates new repository
git clone Clone a repository into current working directory
git add <filename>
git commit –m "message describing commit"
git commit -a Commits all edits
git push origin master
send master branch to remote repository
Update local repository with master branch