Your SlideShare is downloading. ×
0
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Git
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Git

700

Published on

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
700
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
42
Comments
0
Likes
2
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
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Transcript

    • 1. gitthe fast version control system
    • 2. pull pull push pushpull pull pull pull push
    • 3. getting and creating projects
    • 4. configconfiguring your git environment
    • 5. $ git config --global user.name “Your Name”$ git config --global user.email “name@domain.com”
    • 6. $ git config --global alias.st status$ git config --global alias.ci commit$ git config --global alias.co checkout$ git config --global alias.br branch
    • 7. $ git config --global color.ui auto
    • 8. $ git config --global apply.whitespace nowarn
    • 9. $ git config --global core.editor “mate -w”
    • 10. ~/.gitconfig
    • 11. initinitializes a directory as a git repository
    • 12. .|-- COMMIT_EDITMSG|-- FETCH_HEAD|-- HEAD|-- ORIG_HEAD|-- branches|-- config|-- description|-- hooks| |-- applypatch-msg| |-- commit-msg| |-- post-commit| |-- post-receive| |-- post-update| |-- pre-applypatch| |-- pre-commit| |-- pre-rebase| |-- prepare-commit-msg| `-- update|-- index|-- info| `-- exclude|-- logs| |-- HEAD| `-- refs|-- objects`-- refs |-- heads |-- remotes |-- stash `-- tags
    • 13. clonecopy a git repository
    • 14. basic snapshotting
    • 15. addadds file contents to the staging area
    • 16. statusview the status of your files in the working directory and staging area
    • 17. diffshows diff of what is staged and what is modified but unstaged
    • 18. commitrecords a snapshot of the staging area
    • 19. $ git commit -m ‘Fix commit msg’ --amend
    • 20. reset
    • 21. $ git reset --hard
    • 22. $ git clean -dfclean.requireForce defaults to true
    • 23. rmremove files from the staging area
    • 24. mvrename files in the staging area
    • 25. stashsaving temporarily local changes
    • 26. branching and merging
    • 27. branchlist, create and manage working contexts
    • 28. alias “ co “
    • 29. checkout
    • 30. $ git checkout <branch>$ git checkout <tag>$ git checkout <commit>$ git checkout <file>
    • 31. mergemerge a branch context into your current branch
    • 32. logshow commit history of a branch
    • 33. tagtag a point in history as important
    • 34. sharing and updating projects
    • 35. remotelist, add and delete remote repository aliases
    • 36. fetch, pull
    • 37. Download objects and refs from another repository $ git fetch <repo> $ git fetch --all
    • 38. $ git pull <repo> <branch>
    • 39. push
    • 40. $ git push <repo> <branch>
    • 41. $ git push <repo> :<branch>
    • 42. patch
    • 43. $ git format-patch master --stdout > fix_bug.patch
    • 44. $ git diff HEAD~1 > fix_bug.patch$ git apply fix_bug.patch
    • 45. rebase
    • 46. merge vs rebase
    • 47. merge rebase
    • 48. reordering commits
    • 49. $ git rebase -i HEAD~3
    • 50. $ git pull --rebase
    • 51. $ git config branch.master.rebase true$ git config branch.branch3.rebase true$ git config branch.autosetuprebase always$ git pull --no-rebase
    • 52. $ git rebase --continue$ git rebase --abort
    • 53. inspection and comparison
    • 54. log
    • 55. $ git rev-list
    • 56. diff
    • 57. git the fast version control system• http://git-scm.com/• http://gitready.com/• http://gitref.org/• http://github.com/• http://bitbucket.org/• http://progit.org/• http://stackoverflow.com/• http://www.arthurkoziel.com/2008/05/02/git-configuration/• http://www.iconfinder.com/

    ×