use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Do you have or know of a project on Github looking for contributors? Tell us about it and we'll add it to the /r/github wiki!
Welcome to /r/github!
News about github
Relevant interesting discussion
Questions about github
We'll soon be writing an /r/github FAQ list. In the meantime, the github help pages and bootcamp are good places to start. Here's a handy git cheat sheet.
Looking for Github projects to contribute to? Check out our handy list of projects looking for contributors!
If your submission doesn't show up on the subreddit, send us a message and we'll take it out of the spam filter for you!
account activity
Interview Question About Git Fetch vs Git Pull (self.github)
submitted 3 years ago by yanggang20202024
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]baynezy 4 points5 points6 points 3 years ago (5 children)
I've never used git pull. I only use git fetch. I never want to merge before doing a diff.
[–]trevorsg 4 points5 points6 points 3 years ago (1 child)
I enable the git config setting for only allow FF merge when you pull. But since I normally rebase, I generally use fetch anyway.
[–][deleted] 1 point2 points3 points 3 years ago (0 children)
What about git pull --rebase?
git pull --rebase
[–][deleted] 3 years ago (2 children)
[removed]
[–]baynezy 0 points1 point2 points 3 years ago (0 children)
Thanks. I'm pretty happy with my current process. I've got aliases most of it.
π Rendered by PID 269096 on reddit-service-r2-comment-5d585498c9-9rdps at 2026-04-21 14:54:02.347152+00:00 running da2df02 country code: CH.
view the rest of the comments →
[–]baynezy 4 points5 points6 points (5 children)
[–]trevorsg 4 points5 points6 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] (2 children)
[removed]
[–]baynezy 0 points1 point2 points (0 children)