Skip to content

Instantly share code, notes, and snippets.

@timuruski
Created August 24, 2011 15:52
Show Gist options
  • Save timuruski/1168369 to your computer and use it in GitHub Desktop.
Save timuruski/1168369 to your computer and use it in GitHub Desktop.
$ cd ~/workspace/tmp/
$ git clone git://gist.github.com/1163698.git gist-1163698
> ...
$ cd gist-1163698/
$ git remote add brett git://gist.github.com/1168323.git gist-1168323
$ git remote add steve git://gist.github.com/1168327.git
$ git fetch brett
> ...
> From git://gist.github.com/1168323
> * [new branch] master -> brett/master
$ git fetch steve
> ...
> From git://gist.github.com/1168327
> * [new branch] master -> steve/master
$ git merge brett/master
> ...
$ git merge steve/master
> ...
> CONFLICT (content): Merge conflict in hack-requirements.taskpaper
> Automatic merge failed; fix conflicts and then commit the result.
> ... resolve conflict ...
$ git add --all
$ git commit -m"Merge Brett and Steve schedules."
$ git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment