Your SlideShare is downloading. ×
  • Like
GIT
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

GIT

  • 138 views
Published

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
138
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
2
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 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
  • 3. 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_hereTuesday, March 12, 13
  • 7. Git ADD “Hey git, start tracking my files!” $ git add Git now knows these exists for version controllingTuesday, 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 pullTuesday, March 12, 13
  • 12. Git CLONE Github.com Bazillions of repositories! da $ git clone https://github/profile/reponameTuesday, 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.htmlTuesday, March 12, 13