Your SlideShare is downloading. ×
0
Sangjung Woo<br />again4you@gmail.com<br />How to use Git<br />
Git<br />Git is a free & open source, distributed version control system designed to handle everything from small to very ...
Github<br />GitHub is the best way to collaborate with others. Fork, send pull requests and manage all your public and pri...
git install on Ubuntu system<br />Install debian package<br />sudo apt-get install git-coregit-doc gitk<br />SSH key regis...
User information setting<br />Type shell prompt<br />gitconfig --global user.name "SangjungWoo”<br />gitconfig --global us...
Clone repository<br />Make local repository<br />git clone git@github.com:sangjung/linux-kernel-study.git<br />
git command	<br />git log<br />Show commit log<br />
git command	<br />git status<br />Show the working tree status<br />
git command	<br />git add<br />Add file contents to the index<br />git add [files]<br />gitadd .<br />
git command	<br />git commit<br />Record changes to the repository<br />git commit -m "Message”<br />git commit<br />Show ...
git command	<br />git tag<br />Create, list, delete or verify a tag object signed with GPG<br />git tag<br />gittag -a [Ta...
git command	<br />git reset<br />Reset current HEAD to the specified state<br />gitreset HEAD^<br />gitreset --hard (commi...
git command	<br />gitclean<br />Remove untracked files from the working tree<br />git clean –f<br />gitclean –d<br />gitcl...
git command<br />gitpull<br />Fetch from and merge with another repository or a local branch<br />
git command<br />git push<br />Update remote refs along with associated objects<br />gitpush<br />gitpush --tags<br />
git command<br />git show<br />Show various types of objects<br />
git command<br />git diff<br />Show changes between commits, commit and working tree, etc<br />
git command<br />git help [command]<br />git branch<br />git fetch<br />git merge<br />gitk<br />
Upcoming SlideShare
Loading in...5
×

Git & G

558

Published on

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

  • Be the first to like this

No Downloads
Views
Total Views
558
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Git & G"

  1. 1. Sangjung Woo<br />again4you@gmail.com<br />How to use Git<br />
  2. 2. Git<br />Git is a free & open source, distributed version control system designed to handle everything from small to very large projects with speed and efficiency.<br />http://git-scm.com/<br />
  3. 3. Github<br />GitHub is the best way to collaborate with others. Fork, send pull requests and manage all your public and private gitrepositories.<br />https://github.com/<br />
  4. 4. git install on Ubuntu system<br />Install debian package<br />sudo apt-get install git-coregit-doc gitk<br />SSH key registration<br />Send again4you@gmail.com<br />How to check<br />
  5. 5. User information setting<br />Type shell prompt<br />gitconfig --global user.name "SangjungWoo”<br />gitconfig --global user.emailagain4you@gmail.com<br />gitconfig --global color.ui "auto”<br />gitconfig --global color.diffauto<br />gitconfig --global color.statusauto<br />gitconfig --global color.branchauto<br />gitconfig --global core.editor "vim”<br />Check<br />gitconfig --global --list<br />
  6. 6. Clone repository<br />Make local repository<br />git clone git@github.com:sangjung/linux-kernel-study.git<br />
  7. 7. git command <br />git log<br />Show commit log<br />
  8. 8. git command <br />git status<br />Show the working tree status<br />
  9. 9. git command <br />git add<br />Add file contents to the index<br />git add [files]<br />gitadd .<br />
  10. 10. git command <br />git commit<br />Record changes to the repository<br />git commit -m "Message”<br />git commit<br />Show time!<br />
  11. 11. git command <br />git tag<br />Create, list, delete or verify a tag object signed with GPG<br />git tag<br />gittag -a [Tag Name] <br />gittag -d [Tag Name]<br />
  12. 12. git command <br />git reset<br />Reset current HEAD to the specified state<br />gitreset HEAD^<br />gitreset --hard (committed or tag)<br />
  13. 13. git command <br />gitclean<br />Remove untracked files from the working tree<br />git clean –f<br />gitclean –d<br />gitclean -df<br />
  14. 14. git command<br />gitpull<br />Fetch from and merge with another repository or a local branch<br />
  15. 15. git command<br />git push<br />Update remote refs along with associated objects<br />gitpush<br />gitpush --tags<br />
  16. 16. git command<br />git show<br />Show various types of objects<br />
  17. 17. git command<br />git diff<br />Show changes between commits, commit and working tree, etc<br />
  18. 18. git command<br />git help [command]<br />git branch<br />git fetch<br />git merge<br />gitk<br />
  1. A particular slide catching your eye?

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

×