Git cheatsheet

Basic // Initialises a repo on current directory $ git init // Lists modifications git status // Stage modifications $ git add {file1} {file2} {filex} $ git add . or $ git add –all // Commit staged stuff $ git commit -m ‘Your commit message’ // Listing remote servers $ git remote -v // Set … Continue reading Git cheatsheet