2012-03-14 17:19:32 +00:00
|
|
|
!SLIDE commandline incremental
|
|
|
|
|
|
|
|
# Remotes
|
|
|
|
|
2012-03-26 20:32:48 +00:00
|
|
|
$ git clone http://repos.ctdo.de/git/git-vortrag.git
|
2012-03-14 17:19:32 +00:00
|
|
|
|
|
|
|
oder nachträglich
|
|
|
|
|
|
|
|
$ git remote add ctdo \
|
2012-03-26 20:32:48 +00:00
|
|
|
http://repos.ctdo.de/git/git-vortrag.git
|
2012-03-14 17:19:32 +00:00
|
|
|
|
|
|
|
!SLIDE commandline
|
|
|
|
|
|
|
|
# Änderungen fetchen
|
|
|
|
|
|
|
|
$ git fetch origin
|
|
|
|
|
|
|
|
!SLIDE commandline
|
|
|
|
|
|
|
|
# Änderungen fetchen
|
|
|
|
|
|
|
|
$ git fetch ctdo
|
|
|
|
|
|
|
|
!SLIDE commandline
|
|
|
|
|
|
|
|
# Änderungen fetchen
|
|
|
|
|
|
|
|
$ git fetch [remote]
|
|
|
|
|
|
|
|
!SLIDE commandline incremental
|
|
|
|
|
|
|
|
# Änderungen direkt mergen
|
|
|
|
|
|
|
|
$ git pull origin master
|
|
|
|
|
|
|
|
Kurzschreibweise für:
|
|
|
|
|
|
|
|
$ git fetch origin master
|
|
|
|
$ git merge origin/master
|
|
|
|
|
|
|
|
!SLIDE commandline incremental
|
|
|
|
|
|
|
|
# lokale Änderungen pushen
|
|
|
|
|
|
|
|
$ git push origin master
|
|
|
|
|
|
|
|
$ git push origin master:master
|
|
|
|
|
2012-03-20 15:20:37 +00:00
|
|
|
# remote Branch löschen
|
2012-03-14 17:19:32 +00:00
|
|
|
$ git push origin :master
|
2012-03-20 15:20:37 +00:00
|
|
|
|