Hacker News new | ask | show | jobs
by Xurinos 4791 days ago
Rebase is for cleaning up history. Merge is for introducing new features. Use the best tool for the job.

Always "git pull --rebase"; it is fast, easy, and meaningful. You can change the default configuration and probably should; same goes with other tools like emacs and vim.

Worried about date rearrangements? For those few situations where it is important, git log --since="$DATE_OF_LAST_TUESDAY".

1 comments

Better yet, git log --since='last tuesday'. Try it.
I wanted to suggest that, but I couldn't get it to work on my repo. Might be my version.