mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 18:26:00 +02:00
git-clear-soft: add page (#6616)
This commit is contained in:
parent
a589fd38e0
commit
672e36f588
1 changed files with 9 additions and 0 deletions
9
pages/common/git-clear-soft.md
Normal file
9
pages/common/git-clear-soft.md
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# git clear-soft
|
||||||
|
|
||||||
|
> Clear a Git working directory as if it was freshly cloned with the current branch excluding files in `.gitignore`.
|
||||||
|
> Part of `git-extras`.
|
||||||
|
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-clear-soft>.
|
||||||
|
|
||||||
|
- Reset all tracked files and delete all untracked files:
|
||||||
|
|
||||||
|
`git clear-soft`
|
Loading…
Add table
Reference in a new issue