Git Basics

Git Basics

The basics of Git presented at the Git Virtual Summit (http://www.phparch.com/phparchitect-live-presents-the-virtual-git-summit/)

C6ec08260e13aa2d5e9a7519546bed27?s=128

David Coallier

February 01, 2012
Tweet

Transcript

  1. 18.

    Get on your HEAD $ git commit -m “Added file.”

    @davidcoallier - Virtual Git Summit 2012
  2. 23.

    Remotes $ git remote add <name> <url> $ git push

    <name>/master @davidcoallier - Virtual Git Summit 2012
  3. 35.

    Replace All $ git fetch origin $ git reset --hard

    origin/master @davidcoallier - Virtual Git Summit 2012
  4. 36.

    You can now init, add, commit, push, branch, manage remotes,

    push to remote, reset hard. @davidcoallier - Virtual Git Summit 2012
  5. 37.

    Too lazy! All I want is to contribute to open

    source. @davidcoallier - Virtual Git Summit 2012