Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Git: The fast version control system

Git: The fast version control system

A talk about git given to my colleagues at Quatix.

Gustavo Barbosa

August 01, 2012
Tweet

More Decks by Gustavo Barbosa

Other Decks in Programming

Transcript

  1. $ git config --global alias.st status $ git config --global

    alias.ci commit $ git config --global alias.co checkout $ git config --global alias.br branch
  2. .! |-- COMMIT_EDITMSG! |-- FETCH_HEAD! |-- HEAD! |-- ORIG_HEAD! |--

    branches! |-- config! |-- description! |-- hooks! | |-- applypatch-msg! | |-- commit-msg! | |-- post-commit! | |-- post-receive! | |-- post-update! | |-- pre-applypatch! | |-- pre-commit! | |-- pre-rebase! | |-- prepare-commit-msg! | `-- update! |-- index! |-- info! | `-- exclude! |-- logs! | |-- HEAD! | `-- refs! |-- objects! `-- refs! |-- heads! |-- remotes! |-- stash! `-- tags
  3. $ git checkout <branch> $ git checkout <tag> $ git

    checkout <commit> $ git checkout <file>
  4. $ git fetch <repo> ! $ git fetch --all Download

    objects and refs from another repository
  5. $ git config branch.master.rebase true $ git config branch.branch3.rebase true

    $ git config branch.autosetuprebase always ! $ git pull --no-rebase
  6. log

  7. git the fast version control system • http:/ /git-scm.com/ •

    http:/ /gitready.com/ • http:/ /gitref.org/ • http:/ /github.com/ • http:/ /bitbucket.org/ • http:/ /progit.org/ • http:/ /stackoverflow.com/ • http:/ /www.arthurkoziel.com/2008/05/02/git-configuration/ • http:/ /www.iconfinder.com/