Git Video Tutorial

Git Video TutorialOne of you guys asked me to make a Git video tutorial so I did.

Specifically I go over all the different types of version control. We look at the difference between modified, staged and committed. We then install and set everything up for Windows, OSX and Linux. I briefly go over using VIM and show how to set up other editors. Then I cover the commands init, add, commit, status, diff, rm, log and more. A cheat sheet follows the video below.

If you like videos like this, it helps to tell Google Plus with a click here [googleplusone]

Other Git Video Tutorial Videos

Init, Add, Commit, Status, Diff, Rm, Log and Installation : http://goo.gl/L3bR9f

GitHub, Remote Repositories, Push, Pull, Remote, Fetch, Tagging, Aliases and Clone : http://goo.gl/ctIF44

Branching, HEAD, Checkout, Rebasing, Reverting, Reset, Clean, Solving Merge Conflicts and Mergetool : http://goo.gl/zWDj7T

Generating SSH keys, how to set up multiple GitHub accounts on one computer and the Fork & Pull workflow : http://goo.gl/jQo7rv

Git Video Tutorial Cheat Sheet and Transcription

28 thoughts on “Git Video Tutorial”

    1. No I will finish up App Inventor. I just wanted to cover a request I received. After App Inventor I’ll slowly get back into regular Java Android with other random videos on JUnit, random diet stuff because I’m on a diet. It should be fun 🙂

  1. Hey Derek, I love the pace of your videos, it always seems to be just right and doesn’t waste my time. We can always stop and replay parts when we feel a need to. I think you really have a gift for this. Thanks for spending your time to share it!

  2. Derek,

    Super happy you are doing a tutorial on this, I love your style.

    I am having an issue where when I do the “git diff” command, it essentially locks up the terminal so that I am forced to restart the terminal so that I can enter more commands. Here is a screenshot of what is going on:

    http://i.imgur.com/S6PuMnm.png

    Thanks for all your help.

  3. Hi Derek

    First Thank you for your site its the best.

    I’ve Learning this video few times and i have a question:
    what is the different between this command of unstaging to other command:
    A.git rm –cached AndroidManifest.xml #
    B.git reset HEAD AndroidManifest.xml #
    from what i see both commands do unstaging but not delete.

    Thanks
    Yehuda

    1. Hi Yehuda,

      There are 3 places where you can have files being the tree, the index and the working copy. git reset HEAD resets the index to the state it was in before you started making changes to the index. git rm removes a file from the working directory and the index when you commit. i hope that helps 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *