SlideShare une entreprise Scribd logo
1  sur  13
Télécharger pour lire hors ligne
Git over here!	
         What is it and what is it good for?




Tuesday, March 12, 13
What’s Version Control and
         why should I care?


               Version control is a system that records changes to a
               file or set of files over time so that you can recall
               specific versions later.




Tuesday, March 12, 13
Tuesday, March 12, 13
And Linus was Like:




Tuesday, March 12, 13
And Linus was Like:




Tuesday, March 12, 13
Git INIT

               To start using git in a directory


               $ git init


               Initialized empty Git repository in /your_dir_here




Tuesday, March 12, 13
Git ADD

               “Hey git, start tracking my files!”


               $ git add


               Git now knows these exists for version controlling




Tuesday, March 12, 13
Git COMMIT

               Click, click - make a snapshot!


               $ git commit --message ”first commit”


               Git made a new ‘savepoint’




Tuesday, March 12, 13
Git commit




               $ git commit -m “First commit!”



Tuesday, March 12, 13
Git PUSH

               To share your cool commits with others, you need to
               push your changes to the remote repository


               $ git push (origin master)




Tuesday, March 12, 13
Git PULL


               Update itself with new data from the remote repository


               $ git pull




Tuesday, March 12, 13
Git CLONE

               Github.com


               Bazillions of repositories!


               da


               $ git clone https://github/profile/reponame



Tuesday, March 12, 13
Further reading	

               Free Git Book! : http://git-scm.com/book


               Interactive course: http://www.codeschool.com/courses/try-git


               Handy reference: http://gitref.org/index.html




Tuesday, March 12, 13

Contenu connexe

En vedette

F24 methode
F24 methodeF24 methode
F24 methode
fariaans
 
2011中考模拟试卷1
2011中考模拟试卷12011中考模拟试卷1
2011中考模拟试卷1
奕芳 朱
 
Chieh yinkuosigmaxi2013
Chieh yinkuosigmaxi2013Chieh yinkuosigmaxi2013
Chieh yinkuosigmaxi2013
chiehyin
 
Goldclass investment brokers
Goldclass investment brokersGoldclass investment brokers
Goldclass investment brokers
Peckham Banana
 
EFFECTS OF EXCESS SALT DIET ON ANGITENSINOGEN SECRETIONS IN THE KIDNEY OVER TIME
EFFECTS OF EXCESS SALT DIET ON ANGITENSINOGEN SECRETIONS IN THE KIDNEY OVER TIMEEFFECTS OF EXCESS SALT DIET ON ANGITENSINOGEN SECRETIONS IN THE KIDNEY OVER TIME
EFFECTS OF EXCESS SALT DIET ON ANGITENSINOGEN SECRETIONS IN THE KIDNEY OVER TIME
chiehyin
 
IDBI FEDERAL LIFE INSURANCE CO LTD.
IDBI FEDERAL LIFE INSURANCE CO LTD.IDBI FEDERAL LIFE INSURANCE CO LTD.
IDBI FEDERAL LIFE INSURANCE CO LTD.
Student
 

En vedette (8)

F24 methode
F24 methodeF24 methode
F24 methode
 
2011中考模拟试卷1
2011中考模拟试卷12011中考模拟试卷1
2011中考模拟试卷1
 
Frount pages
Frount pagesFrount pages
Frount pages
 
Chieh yinkuosigmaxi2013
Chieh yinkuosigmaxi2013Chieh yinkuosigmaxi2013
Chieh yinkuosigmaxi2013
 
Goldclass investment brokers
Goldclass investment brokersGoldclass investment brokers
Goldclass investment brokers
 
EFFECTS OF EXCESS SALT DIET ON ANGITENSINOGEN SECRETIONS IN THE KIDNEY OVER TIME
EFFECTS OF EXCESS SALT DIET ON ANGITENSINOGEN SECRETIONS IN THE KIDNEY OVER TIMEEFFECTS OF EXCESS SALT DIET ON ANGITENSINOGEN SECRETIONS IN THE KIDNEY OVER TIME
EFFECTS OF EXCESS SALT DIET ON ANGITENSINOGEN SECRETIONS IN THE KIDNEY OVER TIME
 
Indian financial system
Indian financial systemIndian financial system
Indian financial system
 
IDBI FEDERAL LIFE INSURANCE CO LTD.
IDBI FEDERAL LIFE INSURANCE CO LTD.IDBI FEDERAL LIFE INSURANCE CO LTD.
IDBI FEDERAL LIFE INSURANCE CO LTD.
 

Similaire à GIT

Adding Source Control to Your Life
Adding Source Control to Your LifeAdding Source Control to Your Life
Adding Source Control to Your Life
Mark Kelnar
 
Git the Wnderfull tool
Git the Wnderfull toolGit the Wnderfull tool
Git the Wnderfull tool
Amitoj Singh
 

Similaire à GIT (20)

GitHub Talk - Cody Carnachan
GitHub Talk - Cody CarnachanGitHub Talk - Cody Carnachan
GitHub Talk - Cody Carnachan
 
Thinking in Git
Thinking in GitThinking in Git
Thinking in Git
 
Mastering git - Workflow
Mastering git - WorkflowMastering git - Workflow
Mastering git - Workflow
 
Adding Source Control to Your Life
Adding Source Control to Your LifeAdding Source Control to Your Life
Adding Source Control to Your Life
 
Git the Wnderfull tool
Git the Wnderfull toolGit the Wnderfull tool
Git the Wnderfull tool
 
Git and Version Control at Atlogys
Git and Version Control at AtlogysGit and Version Control at Atlogys
Git and Version Control at Atlogys
 
Git
GitGit
Git
 
Version control with Git
Version control with GitVersion control with Git
Version control with Git
 
Hacktoberfest intro to Git and GitHub
Hacktoberfest intro to Git and GitHubHacktoberfest intro to Git and GitHub
Hacktoberfest intro to Git and GitHub
 
Git
GitGit
Git
 
Tutti i miei sbagli, versione 7 Marzo 2012 al XPUG mi
Tutti i miei sbagli, versione 7 Marzo 2012 al XPUG miTutti i miei sbagli, versione 7 Marzo 2012 al XPUG mi
Tutti i miei sbagli, versione 7 Marzo 2012 al XPUG mi
 
Nge-GIT (Belajar Git Bareng)
Nge-GIT (Belajar Git Bareng)Nge-GIT (Belajar Git Bareng)
Nge-GIT (Belajar Git Bareng)
 
Git Memento of basic commands
Git Memento of basic commandsGit Memento of basic commands
Git Memento of basic commands
 
Introduction to GIT
Introduction to GITIntroduction to GIT
Introduction to GIT
 
WPGR - Intro to Git (on the Command Line)
WPGR - Intro to Git (on the Command Line)WPGR - Intro to Git (on the Command Line)
WPGR - Intro to Git (on the Command Line)
 
Git Anti-Patterns - Extended Version With 28 Common Anti-Patterns) - SCTurkey...
Git Anti-Patterns - Extended Version With 28 Common Anti-Patterns) - SCTurkey...Git Anti-Patterns - Extended Version With 28 Common Anti-Patterns) - SCTurkey...
Git Anti-Patterns - Extended Version With 28 Common Anti-Patterns) - SCTurkey...
 
Git ongithub
Git ongithubGit ongithub
Git ongithub
 
How Git and Gerrit make you more productive
How Git and Gerrit make you more productiveHow Git and Gerrit make you more productive
How Git and Gerrit make you more productive
 
Git learning
Git learningGit learning
Git learning
 
Git cheat-sheets
Git cheat-sheetsGit cheat-sheets
Git cheat-sheets
 

GIT

  • 1. Git over here! What is it and what is it good for? Tuesday, March 12, 13
  • 2. What’s Version Control and why should I care? Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later. Tuesday, March 12, 13
  • 4. And Linus was Like: Tuesday, March 12, 13
  • 5. And Linus was Like: Tuesday, March 12, 13
  • 6. Git INIT To start using git in a directory $ git init Initialized empty Git repository in /your_dir_here Tuesday, March 12, 13
  • 7. Git ADD “Hey git, start tracking my files!” $ git add Git now knows these exists for version controlling Tuesday, March 12, 13
  • 8. Git COMMIT Click, click - make a snapshot! $ git commit --message ”first commit” Git made a new ‘savepoint’ Tuesday, March 12, 13
  • 9. Git commit $ git commit -m “First commit!” Tuesday, March 12, 13
  • 10. Git PUSH To share your cool commits with others, you need to push your changes to the remote repository $ git push (origin master) Tuesday, March 12, 13
  • 11. Git PULL Update itself with new data from the remote repository $ git pull Tuesday, March 12, 13
  • 12. Git CLONE Github.com Bazillions of repositories! da $ git clone https://github/profile/reponame Tuesday, March 12, 13
  • 13. Further reading Free Git Book! : http://git-scm.com/book Interactive course: http://www.codeschool.com/courses/try-git Handy reference: http://gitref.org/index.html Tuesday, March 12, 13