git fetch and pull tutorial
Loading...
8,882
Loading...
Uploader Comments (ocert)
see all
All Comments (7)
-
@askPrins Not sure what you mean by "repo download." `git fetch` downloads all the commits on the remote repository that your local repository doesn't have yet - it's not the same thing as cherry picking. `git pull` is similar to `git fetch` - it downloads all the commits you don't have, but also attempts to merge the new commits it gets for your current branch into your local one. `git fetch` simply downloads them and leaves you to deal with merging manually.
-
Isn't better to do repo download instead of git fetch github? I suppose that git fetch is the same as cherry-pick right?
Loading...
Thanks alot really.
Notes! I wish you did not use aliases e.g. git ci /git co. It is not clear for everybody what they are mapped to, since the people who want to learn here are Newbies, right? :)
askPrins 1 year ago
@askPrins You are right. Youtube doesn't allow me to post a link to my .gitconfig here in the comment...
And you are right, that in the video I should have been using the long commands, it is now clear.
ocert 1 year ago
@ocert I have put the link into the video description.
ocert 1 year ago