From c0fd94f7fe18213946d67a86ac26172844d4774d Mon Sep 17 00:00:00 2001 From: hau Date: Mon, 28 Sep 2020 22:30:57 +0700 Subject: [PATCH] enough git clean --- Applications/Essential/git.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Applications/Essential/git.md b/Applications/Essential/git.md index b80c8e7..ff33651 100644 --- a/Applications/Essential/git.md +++ b/Applications/Essential/git.md @@ -67,7 +67,7 @@ git merge-base Log: -``` +```sh git log --pretty=oneline git log --graph --pretty=oneline git log --date=human @@ -75,6 +75,15 @@ git log --date=human Changelog: -``` +```sh git shortlog ..HEAD ``` + +Clean untracked files and folders: + +```sh +git clean -fd + +# If afraid +git clean -fdn +```