Sign up for free to use this document yourself.
  • git

  • Command Line Tools

    GUI Tools

  • Configuring Git

  • Getting Started with an existing github repository

  • Branches

  • Inventory In Progress

  • User github Mac client to get started with now.

    Clone (not Fork) your git repository through a link ending with .git

  • Create a new branch locally

  • git reset HEAD --HARD 
    error: unknown option `HARD'
    usage: git reset [--mixed | --soft | --hard | --merge | --keep] [-q] [<commit>]
       or: git reset [-q] <tree-ish> [--] <paths>...
       or: git reset --patch [<tree-ish>] [--] [<paths>...]
    
        -q, --quiet           be quiet, only report errors
        --mixed               reset HEAD and index
        --soft                reset only HEAD
        --hard                reset HEAD, index and working tree
        --merge               reset HEAD, index and working tree
        --keep                reset HEAD but keep local changes
        -p, --patch           select hunks interactively
        -N, --intent-to-add   record only the fact that removed paths will be added later
{"cards":[{"_id":"5a63c756681fc62cf7000058","treeId":"5a63c728681fc62cf7000056","seq":3241532,"position":1,"parentId":null,"content":"# git\n"},{"_id":"5a63c8cb681fc62cf700005a","treeId":"5a63c728681fc62cf7000056","seq":3242005,"position":1,"parentId":"5a63c756681fc62cf7000058","content":"##Command Line Tools\n* oh-my-zsh [Github](https://github.com/robbyrussell/oh-my-zsh) / [Site](http://ohmyz.sh)\n* tig [Github](https://github.com/jonas/tig)\n\n\n##GUI Tools\n* SourceTree [Site](https://www.sourcetreeapp.com)\n* Gitx [Site](gitx.frim.nl)\n"},{"_id":"5a654310681fc62cf700005f","treeId":"5a63c728681fc62cf7000056","seq":3242015,"position":1.25,"parentId":"5a63c756681fc62cf7000058","content":"##Configuring Git"},{"_id":"5a654386681fc62cf7000060","treeId":"5a63c728681fc62cf7000056","seq":3242037,"position":1,"parentId":"5a654310681fc62cf700005f","content":"On your terminal,\n\n1.\n```\ngit config --global user.name \"<your_name>\"\n```\n\n2.\n```\ngit config --global user.email \"<your_email_address>\"\n```\n\n"},{"_id":"5a655267681fc62cf7000061","treeId":"5a63c728681fc62cf7000056","seq":3242038,"position":2,"parentId":"5a654310681fc62cf700005f","content":"https://help.github.com/articles/fork-a-repo/"},{"_id":"5a653aeb681fc62cf700005d","treeId":"5a63c728681fc62cf7000056","seq":3242013,"position":1.5,"parentId":"5a63c756681fc62cf7000058","content":"##Getting Started with an existing github repository"},{"_id":"5a653ccd681fc62cf700005e","treeId":"5a63c728681fc62cf7000056","seq":3242039,"position":1,"parentId":"5a653aeb681fc62cf700005d","content":"User github Mac client to get started with now.\n\nClone (not `Fork`) your git repository through a link ending with .git"},{"_id":"5a6539f7681fc62cf700005b","treeId":"5a63c728681fc62cf7000056","seq":3242006,"position":2,"parentId":"5a63c756681fc62cf7000058","content":"##Branches"},{"_id":"5a653a77681fc62cf700005c","treeId":"5a63c728681fc62cf7000056","seq":3242007,"position":1,"parentId":"5a6539f7681fc62cf700005b","content":"Create a new branch locally\n"},{"_id":"5a655ad8681fc62cf7000062","treeId":"5a63c728681fc62cf7000056","seq":3242042,"position":3,"parentId":"5a63c756681fc62cf7000058","content":"##Inventory In Progress\n"},{"_id":"5a655b46681fc62cf7000063","treeId":"5a63c728681fc62cf7000056","seq":3242046,"position":1,"parentId":"5a655ad8681fc62cf7000062","content":"###Reset"},{"_id":"5a655c0e681fc62cf7000064","treeId":"5a63c728681fc62cf7000056","seq":3242048,"position":1,"parentId":"5a655b46681fc62cf7000063","content":"```\ngit reset HEAD --HARD \nerror: unknown option `HARD'\nusage: git reset [--mixed | --soft | --hard | --merge | --keep] [-q] [<commit>]\n or: git reset [-q] <tree-ish> [--] <paths>...\n or: git reset --patch [<tree-ish>] [--] [<paths>...]\n\n -q, --quiet be quiet, only report errors\n --mixed reset HEAD and index\n --soft reset only HEAD\n --hard reset HEAD, index and working tree\n --merge reset HEAD, index and working tree\n --keep reset HEAD but keep local changes\n -p, --patch select hunks interactively\n -N, --intent-to-add record only the fact that removed paths will be added later\n```"},{"_id":"5a655cc5681fc62cf7000065","treeId":"5a63c728681fc62cf7000056","seq":3242641,"position":2,"parentId":"5a655ad8681fc62cf7000062","content":"###Difference between working tree, index and Head"},{"_id":"5a670d62681fc62cf7000066","treeId":"5a63c728681fc62cf7000056","seq":3242644,"position":3,"parentId":"5a655ad8681fc62cf7000062","content":"###Working with Remotes\nhttps://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes"}],"tree":{"_id":"5a63c728681fc62cf7000056","name":"Git","publicUrl":"git"}}