Git client handling: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 1: | Zeile 1: | ||
| − | = | + | =last changes detailed= |
*git show | *git show | ||
| − | = | + | ==all changes== |
*git log | *git log | ||
| − | = | + | =new file= |
| + | ==create== | ||
*echo Hallo Welt > sux.txt | *echo Hallo Welt > sux.txt | ||
| + | ==status untracked== | ||
*git status | *git status | ||
<pre> | <pre> | ||
| Zeile 16: | Zeile 18: | ||
nothing added to commit but untracked files present (use "git add" to track) | nothing added to commit but untracked files present (use "git add" to track) | ||
</pre> | </pre> | ||
| + | ==add whole directory== | ||
*git add . | *git add . | ||
| + | ==status tracked== | ||
*git status | *git status | ||
<pre> | <pre> | ||
Version vom 6. März 2018, 13:06 Uhr
last changes detailed
- git show
all changes
- git log
new file
create
- echo Hallo Welt > sux.txt
status untracked
- 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)
add whole directory
- git add .
status tracked
- 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