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
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
CSC307 Lecture 02
javiergs
PRO
1
780
Oxlint JS plugins
kazupon
1
980
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
590
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
Fluid Templating in TYPO3 14
s2b
0
130
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1.4k
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
140
AI時代の認知負荷との向き合い方
optfit
0
160
AIによる開発の民主化を支える コンテキスト管理のこれまでとこれから
mulyu
3
370
Data-Centric Kaggle
isax1015
2
780
組織で育むオブザーバビリティ
ryota_hnk
0
180
Featured
See All Featured
Building the Perfect Custom Keyboard
takai
2
690
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
Building Adaptive Systems
keathley
44
2.9k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
78
sira's awesome portfolio website redesign presentation
elsirapls
0
150
AI: The stuff that nobody shows you
jnunemaker
PRO
2
260
The browser strikes back
jonoalderson
0
390
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
180
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
83
GraphQLの誤解/rethinking-graphql
sonatard
74
11k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
280
A Soul's Torment
seathinner
5
2.3k
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/