Removing -x on git clean tip to avoid unintentional use (#186)

* Removing -x on git clean to avoid unintentionally use

* Removing ! on git clean tip
This commit is contained in:
Eduardo Matos 2017-12-22 13:43:25 -02:00 committed by Richard Littauer
parent 697dbb404f
commit 7dc4eedb17
1 changed files with 3 additions and 3 deletions

View File

@ -362,10 +362,10 @@ $ git reset --hard HEAD
This will remove all local untracked files, so only files tracked by Git remain:
```sh
$ git clean -fdx
$ git clean -fd
```
WARNING: -x will also remove all ignored files!
`-x` will also remove all ignored files.
<a href="i-want-to-discard-specific-unstaged-changes"></a>
### I want to discard specific unstaged changes
@ -1405,7 +1405,7 @@ Using `git reset` it is then possible to change master back to the commit it was
## Tutorials
* [Atlassian's Git tutorial](https://www.atlassian.com/git/tutorials) Get Git right with tutorials from beginner to advanced.
* [Atlassian's Git tutorial](https://www.atlassian.com/git/tutorials) Get Git right with tutorials from beginner to advanced.
* [Learn Git branching](https://learngitbranching.js.org/) An interactive web based branching/merging/rebasing tutorial
* [Getting solid at Git rebase vs. merge](https://medium.com/@porteneuve/getting-solid-at-git-rebase-vs-merge-4fa1a48c53aa)
* [git-workflow](https://github.com/asmeurer/git-workflow) - [Aaron Meurer](https://github.com/asmeurer)'s howto on using Git to contribute to open source repositories