Git client handling

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen

letzte Änderung detatliert

  • git show

alle Änderungen

  • git log

Neue Datei

  • echo Hallo Welt > sux.txt
  • git status
On branch master
Your branch is up-to-date with 'origin/master'.
Untracked files:
  (use "git add <file>..." to include in what will be committed)

	sux.txt

nothing added to commit but untracked files present (use "git add" to track)
  • git add .
  • git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)

	new file:   sux.txt