Michael's Git Tutorial Ep3 part 4

Loading...

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

Uploaded by on Dec 1, 2009

This video concludes episode 3 of my Git tutorial. In this episode we look at how we can set up remote repositories that we can push data to, either to use as backups, or for sharing with others.

These videos have been chopped up to fit Youtube's length restrictions. The videos can also be found on my website:

http://www.20papercups.net

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (MichaelMarner)

  • Good overview. Gives a good grasp of how to use git for the immediate things you need ot do. I'm ambivalent about using the chalkboard vs. presentation slides - on the one hand, waiting for you to finish drawing/writing is a significant time lag. OTOH, I can type while you're talking.

  • @rickbsgu Heh thanks. In my defence, I recorded these videos about a week after I bought the tablet, and I was terrible at using it. I am better now. However, the main reason for the whiteboard is this: I hate (hate!) Powerpoint. I am not going to use it unless forced ;)

    It also means I need to do less planning in advance.

  • Thanks, I went through the entire series. What is the difference between fetch and pull?

  • Fetch retrieves changes that are on a remote. However, your local copy isnt modified. Doing a rebase causes the following:

    1. Any changes that you have committed, but don't exist on the remote, are rewound (undone)

    2. All the commits that are on the remote, but your local copy doesn't have, are applied

    3. The rewound changes are reapplied to your local copy.

    At the start of the day, it is typical to do a

    git fetch origin

    git rebase origin

    to bring your local copy up to date with the remote.

see all

All Comments (17)

Sign In or Sign Up now to post a comment!
  • Thanks Michael for the excellent video tutorial. You rock!

    However, all was good until we reached the 'fetch' and 'rebase' concepts. I guess a lot of people had the same doubt.

    Is it something like the 'fetch' command just brings the staging area in synch with the remote repos? And the 'rebase' command brings the changes onto the local repos? - something like what a git 'reset' does?

    Could an additional video tutorial help explaining these concepts?

  • @onetamer agreed

  • I also watched the entire series and followed along. Thanks to you I'm up and running on git! :)

  • @MichaelMarner

    >>Any changes that you have committed, but don't exist on the remote, are rewound (undone)

    does it warn you about that sort of thing, from the command line .. e.g. "warning you're about to lose a load of changes, you need to push them first.."

  • git pull or git merge instead of rebase

  • Great GIT tutorial. I am already up and running after just watching your videos. I think having a few small mess ups was actually very helpful. Those are real problems that can be encountered all the time and now I know what to do if that happens to me.

  • These vids have some useful info, and I like the conversational style, but they most definitely need to be condensed. Between the 3 vids you're in the ballpark of over an hour yet only cover the bare essentials of creating a repo as a single user. How do I clone a repo? How do I go to a different machine and "checkout" a repo to work on? These tutorials barely scratch the surface of working with Git, for the time taken much more should have been covered.

  • Simply Awesome... I've learned alot from you mate...

  • I finished the entire series. Great work! Like others, I would also like to request for more videos on advanced features.

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