git fetch and pull tutorial

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
8,882
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 22, 2009

In this tutorial I show how to use git fetch and pull and also how to rebase a local branch on top of the (updated) master.

Here is my .gitconfig:

https://gist.github.com/735587

Category:

Science & Technology

License:

Standard YouTube License

  • likes, 4 dislikes

Link to this comment:

Share to:

Uploader Comments (ocert)

  • 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 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 I have put the link into the video description.

see all

All Comments (7)

Sign In or Sign Up now to post a comment!
  • @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...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more