git commandments

Don’t change master.

$ git pull ––rebase

-to pull from the master and then create new branch

-now you have an up to date branch to code your magic

$ git status

-run after you change things in your branch

-shows you what changed

$ git add .

$ git commit -m “Your message”

$ git co master

-checkout master before your merge

$ git pull ––rebase

-ensure that there haven’t been any changes before you merge to master branch

$ git merge -m “Your message”

$ git push

-data now updated on git!

comments powered by Disqus

Eric Iacutone

Ruby dev