Skip to content

Commit

Permalink
Removing -x on git clean tip to avoid unintentional use (k88hudson#186)
Browse files Browse the repository at this point in the history
* Removing -x on git clean to avoid unintentionally use

* Removing ! on git clean tip
  • Loading branch information
eduardojmatos authored and RichardLitt committed Dec 22, 2017
1 parent 697dbb4 commit 7dc4eed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7dc4eed

Please sign in to comment.