0
Version Control with
pt.1
$ whoami●   Renato Oliveira●   @_renatoOliveira●   renato@labcodes.com.br●   CIn/UFPE/GPRT●   LabCodes/Mobdoctor●   python...
Intro● Distributed revision control software● Open-source● Written in C● Multi platform
Linus Torvalds
Junio Hamano
Tech Talk about Githttp://www.youtube.com/watch?v=4XpnKHJAok8
Shared!
Distributed!
Basic Commandsconfig● git config --global user.name "Your Name"● git config --global user.email "Your E-mail"● git config ...
Basic Commandscreating a repository● git initcloning a repository● git clone repo_url
Basic CommandsAdd a file● git add path/to/fileCommit a file● git commitor● git commit -m "commit message"
Difference between Svn commit andgit commit● Git commits are locals!● Local repositories are git repositories.● No Interne...
Add a remote repository● git remote add repository_name url
Upload your code● git push repository_name branch_name
Updating your codegit pull repository_name branch_name
Git branchingEvery local repository is a branch.but branching is a good practice.● git branch branch_name● git checkout br...
Merging● git checkout branch_name● git merge another_branch_name
questions?
@_renatoOliveirarenato@labcodes.com.br
Controle de versão com git
Upcoming SlideShare
Loading in...5
×

Controle de versão com git

161

Published on

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
161
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
2
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Transcript of "Controle de versão com git"

  1. 1. Version Control with
  2. 2. pt.1
  3. 3. $ whoami● Renato Oliveira● @_renatoOliveira● renato@labcodes.com.br● CIn/UFPE/GPRT● LabCodes/Mobdoctor● python/django● pug-pe, python-brasil, django-brasil● pythonNordeste 2013, May 24-25
  4. 4. Intro● Distributed revision control software● Open-source● Written in C● Multi platform
  5. 5. Linus Torvalds
  6. 6. Junio Hamano
  7. 7. Tech Talk about Githttp://www.youtube.com/watch?v=4XpnKHJAok8
  8. 8. Shared!
  9. 9. Distributed!
  10. 10. Basic Commandsconfig● git config --global user.name "Your Name"● git config --global user.email "Your E-mail"● git config --global color.ui true
  11. 11. Basic Commandscreating a repository● git initcloning a repository● git clone repo_url
  12. 12. Basic CommandsAdd a file● git add path/to/fileCommit a file● git commitor● git commit -m "commit message"
  13. 13. Difference between Svn commit andgit commit● Git commits are locals!● Local repositories are git repositories.● No Internet needed!● You dont need public access to the repository!● So, to a better version control...
  14. 14. Add a remote repository● git remote add repository_name url
  15. 15. Upload your code● git push repository_name branch_name
  16. 16. Updating your codegit pull repository_name branch_name
  17. 17. Git branchingEvery local repository is a branch.but branching is a good practice.● git branch branch_name● git checkout branch_name● git branch -D branch_name
  18. 18. Merging● git checkout branch_name● git merge another_branch_name
  19. 19. questions?
  20. 20. @_renatoOliveirarenato@labcodes.com.br
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×