git clone <url> --> clone a git repository
touch <name> --> create a new file with <name> as name
git add <fileName> --> track named file
git commit -m "<message>" --> commit tracked file with a message
git push --> push the committed file to the current branch
git status --> shows the status of the current changes which haven't
been not commited yet
git branch --> shows the available branches and highlights the current one
git branch <name> --> creates a new branch named <name>
git checkout <branchName> --> changing the current branch to <branchName> branch
git merge <branchName> --> merges <branchName> to master
ngtungngo / havardcourse Goto Github PK
View Code? Open in Web Editor NEWThis project forked from thien-an-ngo/harvardcourse