enough git clean

main
hau 2020-09-28 22:30:57 +07:00
parent fcb96b5c17
commit c0fd94f7fe
1 changed files with 11 additions and 2 deletions

View File

@ -67,7 +67,7 @@ git merge-base <A> <B>
Log: Log:
``` ```sh
git log --pretty=oneline git log --pretty=oneline
git log --graph --pretty=oneline git log --graph --pretty=oneline
git log --date=human git log --date=human
@ -75,6 +75,15 @@ git log --date=human
Changelog: Changelog:
``` ```sh
git shortlog <commit>..HEAD git shortlog <commit>..HEAD
``` ```
Clean untracked files and folders:
```sh
git clean -fd
# If afraid
git clean -fdn
```