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
WP Meetup Frankfurt – Einstieg in git
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Benjamin Ackermann
January 09, 2018
Programming
0
210
WP Meetup Frankfurt – Einstieg in git
Benjamin Ackermann
January 09, 2018
Tweet
Share
Other Decks in Programming
See All in Programming
Data-Centric Kaggle
isax1015
2
780
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
Best-Practices-for-Cortex-Analyst-and-AI-Agent
ryotaroikeda
1
110
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
220
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
180
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
CSC307 Lecture 03
javiergs
PRO
1
490
CSC307 Lecture 02
javiergs
PRO
1
780
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1.2k
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
200
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
690
Fragmented Architectures
denyspoltorak
0
160
Featured
See All Featured
The Curse of the Amulet
leimatthew05
1
8.6k
How to Think Like a Performance Engineer
csswizardry
28
2.4k
Testing 201, or: Great Expectations
jmmastey
46
8k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
How to Ace a Technical Interview
jacobian
281
24k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
170
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
Mind Mapping
helmedeiros
PRO
0
87
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
30 Presentation Tips
portentint
PRO
1
220
Transcript
EINSTIEG IN GIT EINSTIEG IN GIT (Simon Kraft, Benjamin Ackermann)
WARUM ÜBERHAUPT GIT? WARUM ÜBERHAUPT GIT? Versionsverwaltung
LOKALE VERSIONSVERWALTUNG LOKALE VERSIONSVERWALTUNG z.B. SCCS, RCS (Bild: https://rogerdudler.github.io/git-guide/index.de.html)
ZENTRALE VERSIONSVERWALTUNG ZENTRALE VERSIONSVERWALTUNG z.B. CVS, SVN (Bild: https://rogerdudler.github.io/git-guide/index.de.html)
VERTEILTE VERSIONSVERWALTUNG VERTEILTE VERSIONSVERWALTUNG z.B. Mercurial, Git (Bild: https://rogerdudler.github.io/git-guide/index.de.html)
INSTALLATION INSTALLATION Download: https://git-scm.com/downloads
NOTWENDIGE KONFIGURATION NOTWENDIGE KONFIGURATION git config --global user.name "Max Mustermann"
git config --global user.email
[email protected]
(Nur einmalig pro Rechner notwendig)
SINNVOLLE KONFIGURATION SINNVOLLE KONFIGURATION git config color.ui true git config
format.pretty oneline git config --global alias.lg "log --color --graph --pretty=format:'% --abbrev-commit" (Nur einmalig pro Rechner notwendig)
GIT WORKFLOW GIT WORKFLOW DREI STADIEN DREI STADIEN Working directory
Staging Area Repository
GIT WORKFLOW - DREI STADIEN GIT WORKFLOW - DREI STADIEN
(Bild: https://rogerdudler.github.io/git-guide/index.de.html)
"STATUS DER DATEIEN" "STATUS DER DATEIEN" (Bild: https://rogerdudler.github.io/git-guide/index.de.html)
LOS GEHT'S... LOS GEHT'S...
NEUES REPOSITORY ERSTELLEN NEUES REPOSITORY ERSTELLEN git init
REPOSITORY AUSCHECKEN REPOSITORY AUSCHECKEN git clone benutzername@host:/pfad/zum/repository
ADD & COMMIT ADD & COMMIT git add git add
* git add . git commit -m "Commit-Nachricht"
ÄNDERUNGEN HOCHLADEN ÄNDERUNGEN HOCHLADEN git push git push origin master
git remote add origin < server >
BRANCHING BRANCHING git checkout -b feature_x git checkout master git
branch -d feature_x git push origin < branch >
UPDATE & MERGE UPDATE & MERGE git pull git merge
< branch > git add < dateiname > git diff < quell_branch > < ziel_branch >
LOGS ANSCHAUEN LOGS ANSCHAUEN git log
ÄNDERUNGEN ZURÜCKNEHMEN ÄNDERUNGEN ZURÜCKNEHMEN git checkout -- < filename >
git fetch origin git reset --hard origin/master
WEITERE QUELLEN WEITERE QUELLEN https://rogerdudler.github.io/git-guide/ https://try.github.io/