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
Git Einstieg
Search
kiliankoe
January 05, 2015
Programming
0
62
Git Einstieg
Ein kurzer Einstieg in die Arbeitsweise mit Git für Informatik Studenten im ersten Semester.
kiliankoe
January 05, 2015
Tweet
Share
More Decks by kiliankoe
See All by kiliankoe
Seminargruppentreffen MINF-B05
kiliankoe
0
40
Bitcoin - Kurze Einführung
kiliankoe
0
42
Warum Wachstum nicht das Maß aller Dinge ist
kiliankoe
0
28
Ökobonus
kiliankoe
0
27
Other Decks in Programming
See All in Programming
Team topologies and the microservice architecture: a synergistic relationship
cer
PRO
0
1.2k
Discover Metal 4
rei315
2
110
すべてのコンテキストを、 ユーザー価値に変える
applism118
2
1.1k
Modern Angular with Signals and Signal Store:New Rules for Your Architecture @enterJS Advanced Angular Day 2025
manfredsteyer
PRO
0
170
NPOでのDevinの活用
codeforeveryone
0
680
Is Xcode slowly dying out in 2025?
uetyo
1
240
Goで作る、開発・CI環境
sin392
0
190
童醫院敏捷轉型的實踐經驗
cclai999
0
210
ニーリーにおけるプロダクトエンジニア
nealle
0
710
アンドパッドの Go 勉強会「 gopher 会」とその内容の紹介
andpad
0
290
イベントストーミング図からコードへの変換手順 / Procedure for Converting Event Storming Diagrams to Code
nrslib
1
570
RailsGirls IZUMO スポンサーLT
16bitidol
0
130
Featured
See All Featured
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
Building an army of robots
kneath
306
45k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
The Invisible Side of Design
smashingmag
300
51k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
Become a Pro
speakerdeck
PRO
28
5.4k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Transcript
Git ([ɡɪt], engl. Blödmann) ist eine freie Software zur verteilten
Versionsverwaltung von Dateien
Warum?
Dropbox? Google Drive? etc?
None
Versionskontrolle
CVS < SVN < git
Lokale Versionskontrolle
Zentralisierte Versionskontrolle
Verteilte Versionskontrolle
git installieren und konfigurieren
Installation unter Linux $ apt-get* install git *oder natürlich mit
<beliebiger package manager hier einfügen>
Installation unter OS X Variante 1
Installation unter OS X Variante 2 $ brew install git
Installation unter OS X Variante 3 http://code.google.com/p/git-osx-installer
Installation unter Windows http://msysgit.github.com/
Identität setzen $ git config --global user.name "John Doe" $
git config --global user.email
[email protected]
Editor setzen $ git config --global core.editor nano
Wie funktioniert’s
Die drei Trees
Die drei Trees
Die drei Trees
Remote
http://rogerdudler.github.io/git-guide/
Grundlagen
Repo initialisieren
Repo initialisieren
Dateien ändern
git status
Änderungen stagen
Änderungen stagen
Änderungen stagen
Commit
Commit
Commit
git log
git log
None
Wo kommt jetzt das Remote her?
Remote hinzufügen
Remote hinzufügen
git push
git push
git push
‣ lokalen Klon (~/git-repo:master) ‣ verknüpftes Remote (origin:master)
Workflow
Pull
Pull
Dateien ändern
Status
Dateien stagen
Commit
Push
Fremdes Repo klonen
git clone
git clone
git clone
Terminal \o/
GitHub for Mac
GitHub for Windows
SourceTree
GitHub & Bitbucket und FusionForge
GitHub
GitHub Edu
Öffentlich oder nicht?
Demo
Bitbucket
Demo
FusionForge
http://git-scm.com/book/de