• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Git & G
 

Git & G

on

  • 654 views

 

Statistics

Views

Total Views
654
Views on SlideShare
630
Embed Views
24

Actions

Likes
0
Downloads
9
Comments
0

1 Embed 24

https://jujo00obo2o234ungd3t8qjfcjrs3o6k-a-sites-opensocial.googleusercontent.com 24

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Git & G Git & G Presentation Transcript

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