Git client handling: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 3: | Zeile 3: | ||
=alle Änderungen= | =alle Änderungen= | ||
*git log | *git log | ||
| − | = | + | =Neue Datei= |
| − | + | *echo Hallo Welt > sux.txt | |
| − | *git add . | + | *git status |
| + | <pre> | ||
| + | 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) | ||
| + | <pre> | ||
| + | *git add . | ||
| + | *git status | ||
| + | <pre> | ||
| + | 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 | ||
| + | </pre> | ||
Version vom 6. März 2018, 13:04 Uhr
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) <pre> *git add . *git status <pre> 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