Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Introduction to Git
Search
Y
May 08, 2013
Programming
770
1
Share
Introduction to Git
Y
May 08, 2013
More Decks by Y
See All by Y
A Tale of Two KEPs
idealhack
0
6
What I Talk About When I Talk About Social Media
idealhack
0
300
Starting a Digital Zettelkasten
idealhack
0
110
Recap: The Release Team Shadow Program - Mentoring For the Future
idealhack
1
900
Everyone Can Work on Kubernetes
idealhack
0
96
环青海湖骑行(2012)
idealhack
0
59
Dive into Git
idealhack
0
87
Great Firewall of China
idealhack
0
89
Other Decks in Programming
See All in Programming
PHPで TLSのプロトコルを実装してみるをもう一度しゃべりたい
higaki_program
0
200
GNU Makeの使い方 / How to use GNU Make
kaityo256
PRO
16
5.6k
Getting more out of Maven
mlvandijk
0
110
存在論的プログラミング: 時間と存在を記述する
koriym
5
870
Java 21/25 Virtual Threads 소개
debop
0
350
事業会社でのセキュリティ長期インターンについて
masachikaura
0
250
Claude Codeをカスタムして自分だけのClaude Codeを作ろう
terisuke
0
120
Exploring RuboCop with MCP
koic
0
130
L’IA au service des devs : Anatomie d'un assistant de Code Review
toham
0
230
AI時代の脳疲弊と向き合う ~言語学としてのPHP~
sakuraikotone
1
1.9k
TiDBのアーキテクチャから学ぶ分散システム入門 〜MySQL互換のNewSQLは何を解決するのか〜 / tidb-architecture-study
dznbk
1
160
Xdebug と IDE による デバッグ実行の仕組みを見る / Exploring-How-Debugging-Works-with-Xdebug-and-an-IDE
shin1x1
0
370
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
23k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
64
54k
Docker and Python
trallard
47
3.8k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Code Reviewing Like a Champion
maltzj
528
40k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
490
Optimizing for Happiness
mojombo
378
71k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
97
Chasing Engaging Ingredients in Design
codingconduct
0
170
The World Runs on Bad Software
bkeepers
PRO
72
12k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.1k
Transcript
Introduction to Git Yang Li
Features • Branching and Merging • Small and Fast •
Distributed • Data Assurance • Staging Area • Free and Open Source http://git-scm.com/about
Installing • http://git-scm.com/download • $ brew install git • $
apt-get install git
Configurations • $ git config --global user.name "Your Name" •
$ git config --global user.email
[email protected]
• $ git config --global color.ui true
Hello World • $ git init • $ git add
README • $ git status • $ git commit -m "first commit"
Three Trees • Working Directory • Index (Staging Area) •
HEAD
Basics • $ git diff • $ git mv •
$ git rm • $ git log • $ git checkout • $ git reset • $ git blame • $ git show • $ git stash • ...
Branches • $ git branch • $ git merge •
$ git rebase • $ git cherry-pick • $ git tag • ...
• $ git clone • $ git remote • $
git push • $ git fetch • $ git pull • ... Remotes
• $ git help <command> Getting Help
Goodies • git-extras • GitX
Resources • http://git-scm.com/ • http://gitref.org/ • http://gitcasts.com/ • https://help.github.com/
THANKS
Questions?