Re: Suggested improvement for git article replace pull by fetch

10 views
Skip to first unread message

Lars Vogel

unread,
Nov 11, 2012, 6:28:33 PM11/11/12
to vog...@googlegroups.com
Thanks for the suggestion. Can you still to a merge with a rebase strategy this way? I prefer to avoid merge commits if they are unnecessary.

2012/11/9 Verhagen <tjeerd....@gmail.com>
http://www.vogella.com/articles/Git/article.html

Topic 'Local and remote repositories'

The text 'or pull (getting changes from a remote repository).'
can be improved, as pull does more then just getting the changes, it also (tries) to merge them in the working directory. A pull is actually a 'fetch + merge'. So therefor it is better to use fetch for just getting the latest changes from the remote. And it is also the recommended way to do a fetch. And then do the  merge separat.

--
You received this message because you are subscribed to the Google Groups "vogella" group.
To view this discussion on the web visit https://groups.google.com/d/msg/vogella/-/v6XlhMjtN28J.
To post to this group, send email to vog...@googlegroups.com.
To unsubscribe from this group, send email to vogella+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/vogella?hl=en.


Reply all
Reply to author
Forward
0 new messages