Skip to content

Instantly share code, notes, and snippets.

@chris-piekarski
Last active December 16, 2015 06:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chris-piekarski/5390073 to your computer and use it in GitHub Desktop.
Save chris-piekarski/5390073 to your computer and use it in GitHub Desktop.
Dealing w/Gerrit Conflicts
Need to flush out:
git checkout chrischanges
git pull https://tinfoil.blah.com/gerrit/platform/packages/apps/Settings refs/changes/12/112/1
git add src/com/blah/blah/Utils.java
git commit -a
git rebase --continue
git add src/com/blah/blah/Utils.java
git push ssh://cpiekarski@tinfoil.blah.com:29418/platform/packages/apps/Settings chrischanges:refs/for/balh/android-4.1.2_r1
#merge related conflicts
repo sync .
git checkout -b cjpmerge
git pull [url from gerrit change id]
*resolve path issue*
git commit -a
git push [gerrit project/branch url]
*Approve new merge change-id and then the original conflicting change change-id*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment