SlideShare une entreprise Scribd logo
1  sur  18
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

Contenu connexe

Tendances

Controle de versão com git
Controle de versão com gitControle de versão com git
Controle de versão com git
Renato Oliveira
 

Tendances (20)

GIT_In_90_Minutes
GIT_In_90_MinutesGIT_In_90_Minutes
GIT_In_90_Minutes
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
 
Introduction to GIT versioning
Introduction to GIT versioningIntroduction to GIT versioning
Introduction to GIT versioning
 
Gnome and rpm_packaging
Gnome and rpm_packagingGnome and rpm_packaging
Gnome and rpm_packaging
 
Git
GitGit
Git
 
tizen-oshw-tds14sh
tizen-oshw-tds14shtizen-oshw-tds14sh
tizen-oshw-tds14sh
 
Git Heaven with Wakanda
Git Heaven with WakandaGit Heaven with Wakanda
Git Heaven with Wakanda
 
Presentacion git
Presentacion gitPresentacion git
Presentacion git
 
Git training with Devaamo
Git training with DevaamoGit training with Devaamo
Git training with Devaamo
 
OpenZFS code repository
OpenZFS code repositoryOpenZFS code repository
OpenZFS code repository
 
OpenZFS - BSDcan 2014
OpenZFS - BSDcan 2014OpenZFS - BSDcan 2014
OpenZFS - BSDcan 2014
 
Git & git hub
Git & git hubGit & git hub
Git & git hub
 
Controle de versão com git
Controle de versão com gitControle de versão com git
Controle de versão com git
 
LUG - Install Fest 2008
LUG - Install Fest 2008LUG - Install Fest 2008
LUG - Install Fest 2008
 
Git
GitGit
Git
 
OpenZFS Developer Summit Introduction
OpenZFS Developer Summit IntroductionOpenZFS Developer Summit Introduction
OpenZFS Developer Summit Introduction
 
OpenZFS - AsiaBSDcon
OpenZFS - AsiaBSDconOpenZFS - AsiaBSDcon
OpenZFS - AsiaBSDcon
 
Git it on (includes git hub)
Git it on (includes git hub)Git it on (includes git hub)
Git it on (includes git hub)
 
Git meanings of -distributed-
Git  meanings of -distributed-Git  meanings of -distributed-
Git meanings of -distributed-
 
Tizen platform-dev-tds14sh
Tizen platform-dev-tds14shTizen platform-dev-tds14sh
Tizen platform-dev-tds14sh
 

En vedette

Linux Process & CF scheduling
Linux Process & CF schedulingLinux Process & CF scheduling
Linux Process & CF scheduling
SangJung Woo
 

En vedette (11)

TMB Lean Six Sigma Introduction
TMB Lean Six Sigma IntroductionTMB Lean Six Sigma Introduction
TMB Lean Six Sigma Introduction
 
[Tizen Talk 2016 in Seoul] 바닥서부터 만들어보는 타이젠
[Tizen Talk 2016 in Seoul] 바닥서부터 만들어보는 타이젠[Tizen Talk 2016 in Seoul] 바닥서부터 만들어보는 타이젠
[Tizen Talk 2016 in Seoul] 바닥서부터 만들어보는 타이젠
 
Linux Process & CF scheduling
Linux Process & CF schedulingLinux Process & CF scheduling
Linux Process & CF scheduling
 
Syslog
SyslogSyslog
Syslog
 
Git & GitHub
Git & GitHubGit & GitHub
Git & GitHub
 
오픈 플랫폼 타이젠과 컨트리부션하기(연세대 오픈소스 미니콘서트)
오픈 플랫폼 타이젠과 컨트리부션하기(연세대 오픈소스 미니콘서트)오픈 플랫폼 타이젠과 컨트리부션하기(연세대 오픈소스 미니콘서트)
오픈 플랫폼 타이젠과 컨트리부션하기(연세대 오픈소스 미니콘서트)
 
Open Source Mini Concert-Session 3-Tizen
Open Source Mini Concert-Session 3-TizenOpen Source Mini Concert-Session 3-Tizen
Open Source Mini Concert-Session 3-Tizen
 
Syslog
SyslogSyslog
Syslog
 
미디어오늘 저널리즘의미래 연결의 진화 - 매직에코 최형욱
미디어오늘 저널리즘의미래 연결의 진화 - 매직에코 최형욱미디어오늘 저널리즘의미래 연결의 진화 - 매직에코 최형욱
미디어오늘 저널리즘의미래 연결의 진화 - 매직에코 최형욱
 
Tizen introduction & architecture
Tizen introduction & architectureTizen introduction & architecture
Tizen introduction & architecture
 
Internet of things : 세상의 모든것들이 연결되는 날 - 최형욱
 Internet of things : 세상의 모든것들이 연결되는 날 - 최형욱 Internet of things : 세상의 모든것들이 연결되는 날 - 최형욱
Internet of things : 세상의 모든것들이 연결되는 날 - 최형욱
 

Similaire à Git & G

Git Workshop : Git On The Server
Git Workshop : Git On The ServerGit Workshop : Git On The Server
Git Workshop : Git On The Server
Wildan Maulana
 

Similaire à Git & G (20)

Github By Nyros Developer
Github By Nyros DeveloperGithub By Nyros Developer
Github By Nyros Developer
 
Git Workshop : Git On The Server
Git Workshop : Git On The ServerGit Workshop : Git On The Server
Git Workshop : Git On The Server
 
Git: Why And How to
Git: Why And How toGit: Why And How to
Git: Why And How to
 
Introduction to Git and Github
Introduction to Git and GithubIntroduction to Git and Github
Introduction to Git and Github
 
git github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptxgit github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptx
 
Introduction to git
Introduction to gitIntroduction to git
Introduction to git
 
Git & github
Git & githubGit & github
Git & github
 
Git and Github
Git and GithubGit and Github
Git and Github
 
Grokking opensource with github
Grokking opensource with githubGrokking opensource with github
Grokking opensource with github
 
14 oct Git & GitHub.pptx
14 oct Git & GitHub.pptx14 oct Git & GitHub.pptx
14 oct Git & GitHub.pptx
 
Introduction to Git.pptx
Introduction to Git.pptxIntroduction to Git.pptx
Introduction to Git.pptx
 
GIT from n00b
GIT from n00bGIT from n00b
GIT from n00b
 
Crash course in git and github
Crash course in git and githubCrash course in git and github
Crash course in git and github
 
Git Memento of basic commands
Git Memento of basic commandsGit Memento of basic commands
Git Memento of basic commands
 
Git presentation
Git presentationGit presentation
Git presentation
 
Git
GitGit
Git
 
Git Ninja KT (GitHub to GitLab)
Git Ninja KT (GitHub to GitLab)Git Ninja KT (GitHub to GitLab)
Git Ninja KT (GitHub to GitLab)
 
Git and github
Git and githubGit and github
Git and github
 
Git introduction
Git introductionGit introduction
Git introduction
 
Git, Beginner to Advanced Survey
Git, Beginner to Advanced SurveyGit, Beginner to Advanced Survey
Git, Beginner to Advanced Survey
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 

Git & G

  • 2. 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/
  • 3. 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/
  • 4. 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
  • 5. 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
  • 6. Clone repository Make local repository git clone git@github.com:sangjung/linux-kernel-study.git
  • 7. git command git log Show commit log
  • 8. git command git status Show the working tree status
  • 9. git command git add Add file contents to the index git add [files] gitadd .
  • 10. git command git commit Record changes to the repository git commit -m "Message” git commit Show time!
  • 11. 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]
  • 12. git command git reset Reset current HEAD to the specified state gitreset HEAD^ gitreset --hard (committed or tag)
  • 13. git command gitclean Remove untracked files from the working tree git clean –f gitclean –d gitclean -df
  • 14. git command gitpull Fetch from and merge with another repository or a local branch
  • 15. git command git push Update remote refs along with associated objects gitpush gitpush --tags
  • 16. git command git show Show various types of objects
  • 17. git command git diff Show changes between commits, commit and working tree, etc
  • 18. git command git help [command] git branch git fetch git merge gitk