Timeline for What is the difference between 'git pull' and 'git fetch'?
Current License: CC BY-SA 4.0
Post Revisions
97 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 27 at 15:39 | comment | added | li ki |
You've read a lot of "git fetch does not change any local branches". Well, not really, we can update local branches by git-fetch: Merge, update, and pull Git branches without using checkouts. Be careful with any commands from the Internet.
|
|
| May 4, 2025 at 15:37 | review | Suggested edits | |||
| May 8, 2025 at 13:03 | |||||
| Feb 2, 2025 at 6:14 | comment | added | Developer Nilesh |
Need to check the branch name first with git branch and also check git status with git status , after that make above changes accordingly. Because, we need to verify the branch and it's status.
|
|
| Jan 16, 2024 at 19:04 | comment | added | Chad Farmer | Slightly off question, but I have developed the habit of entering "git fetch && git status" instead of "git status". By itself "git status" reports the last remote repository status seen. This can report stale information about the remote repository. For example, "git status" will report "Your branch is up to date" despite a new commit having been pushed. | |
| Jan 2, 2023 at 13:20 | review | Close votes | |||
| Jan 6, 2023 at 0:06 | |||||
| Jul 18, 2022 at 18:44 | history | edited | John Smith | CC BY-SA 4.0 |
added 2 characters in body
|
| Jul 4, 2022 at 23:47 | history | edited | Mateen Ulhaq | CC BY-SA 4.0 |
Add documentation link.
|
| Dec 19, 2021 at 19:58 | comment | added | IAmNoob | A very well written article about git pull vs fetch freecodecamp.org/news/git-fetch-vs-pull | |
| Aug 9, 2021 at 9:24 | review | Suggested edits | |||
| Aug 9, 2021 at 11:31 | |||||
| Nov 27, 2020 at 16:01 | history | rollback | Jonathan Leffler |
Rollback to Revision 26
|
|
| Nov 25, 2020 at 4:05 | history | edited | Anish B. | CC BY-SA 4.0 |
added 5 characters in body
|
| Nov 19, 2020 at 9:20 | answer | added | Piaget Hadzizi | timeline score: 8 | |
| Jun 19, 2020 at 23:18 | history | rollback | Jonathan Leffler |
Rollback to Revision 24
|
|
| Jun 17, 2020 at 5:53 | history | edited | Anish B. | CC BY-SA 4.0 |
edited tags; edited title
|
| May 13, 2020 at 16:32 | answer | added | Akash Yellappa | timeline score: 11 | |
| Mar 2, 2020 at 14:09 | history | edited | Martijn Pieters | CC BY-SA 4.0 |
deleted 218 characters in body
|
| Mar 2, 2020 at 14:09 | history | notice added | Martijn Pieters | Needs detailed answers | |
| Mar 2, 2020 at 12:13 | review | Suggested edits | |||
| Mar 2, 2020 at 13:50 | |||||
| Jan 15, 2020 at 6:55 | history | edited | Toon Krijthe | CC BY-SA 4.0 |
added 2 characters in body
|
| Nov 14, 2019 at 12:06 | history | edited | Sazzad Hissain Khan |
edited tags
|
|
| Nov 7, 2019 at 6:54 | answer | added | Sujeet | timeline score: 21 | |
| Sep 21, 2019 at 14:29 | review | Suggested edits | |||
| Sep 21, 2019 at 16:05 | |||||
| Jun 19, 2019 at 8:35 | review | Close votes | |||
| Jun 23, 2019 at 0:00 | |||||
| Apr 29, 2019 at 0:21 | review | Suggested edits | |||
| Apr 29, 2019 at 4:24 | |||||
| Apr 6, 2019 at 11:43 | review | Suggested edits | |||
| Apr 6, 2019 at 15:34 | |||||
| Feb 12, 2019 at 19:25 | answer | added | mfaani | timeline score: 123 | |
| Nov 3, 2018 at 4:46 | history | edited | Jonathan Leffler | CC BY-SA 4.0 |
Revert to spelled variant of number, and increment since the number's gone up — again!
|
| Oct 30, 2018 at 10:22 | history | edited | Mus | CC BY-SA 4.0 |
deleted 7 characters in body
|
| Aug 8, 2018 at 21:32 | history | edited | cassiomolin | CC BY-SA 4.0 |
deleted 1 character in body
|
| Jul 14, 2018 at 10:44 | review | Suggested edits | |||
| Jul 14, 2018 at 16:18 | |||||
| Jul 11, 2018 at 5:52 | review | Close votes | |||
| Jul 15, 2018 at 0:00 | |||||
| May 2, 2018 at 20:50 | history | edited | Robert Harvey | CC BY-SA 4.0 |
added 194 characters in body
|
| Dec 22, 2017 at 20:36 | answer | added | Andrei Todorut | timeline score: 7 | |
| Jul 12, 2017 at 6:23 | answer | added | Mohammed Mohideen M Z | timeline score: 41 | |
| Jun 21, 2017 at 9:48 | answer | added | Alireza | timeline score: 194 | |
| Feb 13, 2017 at 8:31 | history | edited | Steve Chambers | CC BY-SA 3.0 |
Made title into a question
|
| Feb 7, 2017 at 14:15 | answer | added | Aman Tiwari | timeline score: 131 | |
| Nov 30, 2016 at 6:03 | history | edited | Vikrant | CC BY-SA 3.0 |
edited title
|
| Jul 13, 2016 at 21:23 | answer | added | Pinkesh Sharma | timeline score: 84 | |
| Jan 25, 2016 at 17:28 | answer | added | thedarkpassenger | timeline score: 306 | |
| Jan 9, 2016 at 8:57 | history | rollback | VonC |
Rollback to Revision 13
|
|
| S Jan 8, 2016 at 13:51 | history | suggested | Levent Divilioglu |
Updated the tag: Added version-control
|
|
| Jan 8, 2016 at 13:21 | review | Suggested edits | |||
| S Jan 8, 2016 at 13:51 | |||||
| Dec 23, 2015 at 15:31 | answer | added | Sazzad Hissain Khan | timeline score: 152 | |
| Sep 25, 2015 at 9:46 | answer | added | g24l | timeline score: 25 | |
| Sep 13, 2015 at 18:48 | answer | added | Pokemon | timeline score: 39 | |
| Jul 29, 2015 at 18:38 | answer | added | Montells | timeline score: 50 | |
| Jul 12, 2015 at 5:39 | answer | added | Animesh Sharma | timeline score: 28 | |
| Jul 12, 2015 at 3:54 | answer | added | Saqib R. | timeline score: 33 | |
| Jul 4, 2015 at 18:26 | review | Close votes | |||
| Jul 8, 2015 at 0:03 | |||||
| Jun 29, 2015 at 10:15 | comment | added | Serge Shultz | Lots of folks coming from Mercurial keep using "git pull", thinking it's an equivalent for "hg pull". Which it's not. Git's equivalent of "hg pull" is "git fetch". | |
| Jun 9, 2015 at 13:30 | answer | added | Contango | timeline score: 1189 | |
| May 19, 2015 at 11:57 | answer | added | Donal | timeline score: 42 | |
| Feb 6, 2015 at 11:48 | answer | added | th3sly | timeline score: 164 | |
| Dec 9, 2014 at 20:09 | comment | added | Henry Heleine | Make sure you know how to use git stash correctly. If you're asking about 'pull' and 'fetch' then maybe 'stash' will also need explaining... | |
| Nov 11, 2014 at 16:21 | review | Close votes | |||
| Nov 18, 2014 at 0:00 | |||||
| Oct 5, 2014 at 22:53 | review | Close votes | |||
| Oct 6, 2014 at 1:40 | |||||
| Sep 24, 2014 at 12:27 | review | Suggested edits | |||
| Sep 24, 2014 at 13:20 | |||||
| Aug 12, 2014 at 4:00 | answer | added | Marcus Thornton | timeline score: 41 | |
| Jul 28, 2014 at 23:18 | history | edited | user456814 | CC BY-SA 3.0 |
edited tags, added expanded title because some people prefer it (http://stackoverflow.com/revisions/292357/9), fixed up question body.
|
| S Jun 23, 2014 at 20:32 | history | edited | Ian Gregory |
'fetch' and 'pull' aren't useful tags
|
|
| S Jun 23, 2014 at 20:32 | history | suggested | MJA |
add relevance
|
|
| Jun 23, 2014 at 20:25 | review | Suggested edits | |||
| S Jun 23, 2014 at 20:32 | |||||
| Jun 11, 2014 at 3:36 | history | edited | user456814 | CC BY-SA 3.0 |
Made title more succinct.
|
| Jun 6, 2014 at 19:38 | history | rollback | Greg Hewgill |
Rollback to Revision 7
|
|
| May 24, 2014 at 20:30 | history | edited | user456814 | CC BY-SA 3.0 |
Made title more succinct, added more Git specific tags.
|
| May 4, 2014 at 14:32 | comment | added | Michael Durrant |
Our alternative approach has become git fetch; git reset --hard origin/master as part of our workflow. It blows away local changes, keeps you up to date with master BUT makes sure you don't just pull in new changes on top on current changes and make a mess. We've used it for a while and it basically feels a lot safer in practice. Just be sure to add/commit/stash any work-in-progress first !
|
|
| S Mar 29, 2014 at 17:44 | history | suggested | Braiam |
removed tags according to tag excerpts. Fetch tag should be used in programing language, the question doesn't mention merge anywhere
|
|
| Mar 29, 2014 at 17:39 | review | Suggested edits | |||
| S Mar 29, 2014 at 17:44 | |||||
| Feb 19, 2014 at 21:18 | answer | added | Justus Romijn | timeline score: 136 | |
| Dec 27, 2013 at 23:24 | history | edited | Zerium | CC BY-SA 3.0 |
added 7 characters in body
|
| Nov 28, 2013 at 17:03 | answer | added | Pawel Furmaniak | timeline score: 49 | |
| Sep 19, 2013 at 22:41 | answer | added | Iggy | timeline score: 39 | |
| Sep 19, 2013 at 20:01 | answer | added | Michael Durrant | timeline score: 91 | |
| Jun 4, 2013 at 14:08 | answer | added | Rohitashv Singhal | timeline score: 58 | |
| Apr 13, 2013 at 17:31 | answer | added | Snowcrash | timeline score: 316 | |
| Mar 31, 2013 at 18:43 | answer | added | Mike DeAngelo | timeline score: 1454 | |
| Mar 10, 2013 at 1:30 | history | protected | Brad Larson | ||
| Mar 9, 2013 at 20:20 | history | edited | Peter Mortensen | CC BY-SA 3.0 |
Formatting.
|
| Feb 21, 2013 at 13:25 | answer | added | Selvamani | timeline score: 102 | |
| Feb 16, 2013 at 8:43 | review | Close votes | |||
| Feb 16, 2013 at 21:09 | |||||
| Nov 26, 2012 at 21:58 | answer | added | ntanase | timeline score: 86 | |
| Jul 17, 2012 at 16:43 | answer | added | pn1 dude | timeline score: 117 | |
| Jul 2, 2012 at 13:52 | history | edited | Sergey K. | CC BY-SA 3.0 |
added 4 characters in body
|
| May 11, 2012 at 18:37 | answer | added | Gerardo | timeline score: 443 | |
| S Sep 16, 2011 at 11:53 | history | suggested | ppareja |
adding fetch tag (it was missing)
|
|
| Sep 16, 2011 at 11:47 | review | Suggested edits | |||
| S Sep 16, 2011 at 11:53 | |||||
| Aug 18, 2011 at 8:53 | answer | added | Mouna Cheikhna | timeline score: 2686 | |
| May 15, 2011 at 20:53 | answer | added | jfmercer | timeline score: 187 | |
| Mar 21, 2011 at 11:07 | answer | added | Antonio Bardazzi | timeline score: 184 | |
| Sep 16, 2010 at 6:57 | comment | added | Marcos Oliveira | I found this well written article about git fetch and git pull it's worth the reading: longair.net/blog/2009/04/16/git-fetch-and-merge | |
| May 7, 2010 at 19:23 | answer | added | mepster | timeline score: 605 | |
| Mar 27, 2010 at 16:22 | history | edited | Bite code |
edited tags
|
|
| Nov 15, 2008 at 11:29 | vote | accept | Pablo Fernandez | ||
| Nov 15, 2008 at 9:52 | answer | added | Vinko Vrsalovic | timeline score: 210 | |
| Nov 15, 2008 at 9:52 | answer | added | Greg Hewgill | timeline score: 11705 | |
| Nov 15, 2008 at 9:51 | history | asked | Pablo Fernandez | CC BY-SA 2.5 |