Last active
October 27, 2016 22:38
-
-
Save cesarhdz/fed104a171ee42cfe04dd2a97386a76b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Sync feature wiht develop | |
# Rebase | |
$ git checkout feature/<feature> | |
$ git checkout feature/<feature> -b feature/<feature>-tmp | |
$ git checkout - | |
# Preserve merges and set commiter date to author date | |
# see: http://stackoverflow.com/a/2976598/915034 | |
$ git rebase develop --preserve-merges --committer-date-is-author-date | |
# Resolve Conflict in rebase | |
- manually resolve | |
$ git rebase --continue | |
$ git rebase --skip | |
## will fail | |
## $ git push origin feature/<feature> | |
## Publish feature | |
$ git push origin --delete feature/<feature> | |
$ git push origin feature/<feature> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment