Skip to content

Instantly share code, notes, and snippets.

@charliegerard
Created April 11, 2014 05:23
Show Gist options
  • Save charliegerard/10442179 to your computer and use it in GitHub Desktop.
Save charliegerard/10442179 to your computer and use it in GitHub Desktop.

In terminal when pulling or pushing changes, if we end up on the weird blue screen full of ,,,,, press :wq

If merge conflict, remove or comment out the changes we don't want and push again. A merge conflict will happen if someone and me change the same line.

before running git pull, always do git add and git commit.

always run git push Kriss master if I want to push my changes to Kriss's repo.

The database is shared accross all branches so if I make a change in the database, people need to run rake db:migrate to migrate my changes.

if I don't type git push Kriss master, the changes will just be added to my repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment