top | item 21194048

(no title)

5trokerac3 | 6 years ago

In my experience, if you ever use more than clone, fetch, pull, push, checkout, merge(tool), reset, add, and commit then somebody messed up.

discuss

order

CameronNemo|6 years ago

I rebase all the time FWIW.

sixstringtheory|6 years ago

I constantly use

    git commit --fixup 6138D3A
    git rebase --autosquash --interactive origin/master
to keep a clean history of cohesive commits. Rarely do I change _everything_ required for an objective in one go, I still like to commit as I work, I just like the finished product to _seem_ like I did it in one go, for future maintainers' sake.

And I rebase to catch up with upstream, I can't stand having intermediate merge commits in my history and rebasing lets you resolve conflicts as they're introduced, instead of an all-at-once at the end.