8. Status
● Status abfragen
● git status
● Dateien müssen explizit mit zum commit
hinzugefügt werden
● git add file
● Liste alle
unversioniert/neu/gelöscht/modifiziert/modifiziert
aber nicht hinzugefügt Dateien und Verzeichnissen
9. # On branch master
#
# Initial commit
#
# Changes to be committed:
# (use "git rm --cached <file>..." to unstage)
#
# new file: test
# new file: test2
#
# Changed but not updated:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: test
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# test3
10. Commit
● Änderungen sind zunächst lokal und offline
● git commit -m „my first commit“
● Zum remote senden
● git push
18. commit a80a9333443b51b6932a532d77fd47945df10ef1
Author: Gordon Franke <info@nevalon.de>
Date: Sat May 1 15:29:20 2010 +0200
2 commit
commit f953a9ed37f3cd98fff70cb070e72137e4b66735
Author: Gordon Franke <info@nevalon.de>
Date: Sat May 1 15:28:31 2010 +0200
start