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

Getting Bootstrapped with Git and GitHub

Getting Bootstrapped with Git and GitHub

Get started with the basics of Git and GitHub. Intended as a high level overview of some basic commands and a peek at using Pull Requests.

Jared Koumentis

October 26, 2012
Tweet

More Decks by Jared Koumentis

Other Decks in Programming

Transcript

  1. Linux $ sudo apt-get install git --- $ sudo yum

    install git --- $ sudo pacman -S git Friday, October 26, 12
  2. Linux $ sudo apt-get install git --- $ sudo yum

    install git --- $ sudo pacman -S git Friday, October 26, 12
  3. Linux $ sudo apt-get install git --- $ sudo yum

    install git --- $ sudo pacman -S git Friday, October 26, 12
  4. The Git Trifecta $ git status --- $ git add

    <file-name-goes-here> --- $ git commit -m “message why” Friday, October 26, 12
  5. $ git status --- $ git add <file-name-goes-here> --- $

    git commit -m “message why” The Git Trifecta Friday, October 26, 12
  6. $ git status --- $ git add <file-name-goes-here> --- $

    git commit -m “message why” The Git Trifecta Friday, October 26, 12
  7. Cloning your new repo $ git clone <URL> Again, that’s

    it. Simple, Right? Friday, October 26, 12
  8. Communicating Changes $ git pull $ git push -u origin

    master $ git push -u <server> <branch> Friday, October 26, 12
  9. Communicating Changes $ git pull $ git push -u origin

    master $ git push -u <server> <branch> Friday, October 26, 12
  10. Communicating Changes $ git pull $ git push -u origin

    master $ git push -u <server> <branch> Friday, October 26, 12
  11. Fin Questions? I’ll be around. Come talk to me! :)

    Problems? No Problem! That’s why I’m here! Friday, October 26, 12
  12. Fin Questions? I’ll be around. Come talk to me! :)

    Problems? No Problem! That’s why I’m here! Friday, October 26, 12