-
Notifications
You must be signed in to change notification settings - Fork 0
Share your every day workflow
andreav edited this page Aug 9, 2012
·
2 revisions
In this page we can share our preferred workflows.
- git ftrbr-start
- .. edit .. commit ..
- git rebase -i $(git intbr)
- git ftr-push-rebase
I'm a rebase fan. That command helps keeping my history and repository history clean.
Point 3: interactive rebasing helps reordering MY COMMITS before pushing contributes. (Note it is parametrized on my current integration branch.)
Point 4: git ftr-push-rebase is particularly useful for keeping REPOSITORY HISTORY as clean as possible.
If I often push more than one commit, mergeing --nof-ff could be better.
git config 4f.ftrbr-integrate-rebase-opt --no-ff
This can keep all my commits on a separate branch.
If git ftr-push-rebase conflicts, I prefer resolving them by merges.
I'll rollback rebase by:
git rebase --abort
Then I'll use:
git ftr-push
resolve conflict, thus rendering this operation more evident in my history.
In the end, re-issue:
git ftr-push