You are on page 1of 1
git cheat sheet lean more about gt the simple way at mgerdudler github com guide) cheat sheet created by Nina Jeschke of ninarafkcom @ create create new repository lone local repository clone remote repository add & add changes to INDEX add all changes to INDEX remove/delete & clone git init sit clone /path/tojrepository git clone username@host:/pathto/repository a sit add cfilename> gitadd* gitrm ? commit & synchronize commit changes, push changes to remote repository ‘connect local repository to remote repository update local repository with remote changes sit commit -m "Commit message" git push origin master agit remote add origin sit pull % branches create new branch switch to master branch delete branch push branch to remote repository sit checkout -b git chechut-b feature x git checkout master sit branch -d git push origin merge merge changes from another branch view changes between two branches agit merge git diff eg. gitag 1.0.0 tb2edestt ss a ‘Wanta simple but powerful sit-client for your mac? ‘Try Tower: wwrgit-towercom/ sgitlog e Tip git checkout —

You might also like