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

Git Basics - Part 2

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.

Git Basics - Part 2

A begginer presentation to Git

Avatar for Alejandro

Alejandro

April 30, 2015
Tweet

More Decks by Alejandro

Other Decks in Programming

Transcript

  1. git remote git remote -v git remote add <name> <repo-url>

    git remote rm <name> <file> git remote rename <oldname> <newname>
  2. a1b8gte e30213 master b1b8la9 b1 HEAD git branch b1 git

    checkout b1 f43402 f43402 git commit …
  3. a1b8gte e30213 master b1b8la9 b1 HEAD git branch b1 git

    checkout b1 f43402 f43402 git commit … git checkout master
  4. pick 33d5b7a Message for commit #1 pick 9480b3d Message for

    commit #2 pick 5c67e61 Message for commit #3 pick reword squash fixup
  5. pick d70c40 Message for commit #1 squash db51f4 Message for

    commit #2 squash f43402 Message for commit #3 …. pick reword squash fixup