Michael's Git Tutorial Ep3 part 4
Uploader Comments (MichaelMarner)
All Comments (17)
-
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! :)
-
>>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.
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 1 year ago
@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.
MichaelMarner 1 year ago
Thanks, I went through the entire series. What is the difference between fetch and pull?
jimboandkris 2 years ago
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.
MichaelMarner 2 years ago