GIT: Unterschied zwischen den Versionen
Aus wiki
(→Commands) |
(→Commands) |
||
| Zeile 5: | Zeile 5: | ||
View File 2 Commits before | View File 2 Commits before | ||
git show HEAD~2:public/app/styles/main.css | git show HEAD~2:public/app/styles/main.css | ||
| + | |||
| + | Search File in Log | ||
| + | git log --diff-filter=D --summary | grep '''filename''' | awk '{print $4; exit}' | xargs git log --all -- | ||
Version vom 3. April 2015, 23:14 Uhr
Commands
Delete all remotely deleted files
git rm $(git ls-files --deleted)
View File 2 Commits before
git show HEAD~2:public/app/styles/main.css
Search File in Log
git log --diff-filter=D --summary | grep filename | awk '{print $4; exit}' | xargs git log --all --