mirror of
https://github.com/k88hudson/git-flight-rules.git
synced 2025-03-10 12:48:43 -03:00
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:
parent
697dbb404f
commit
7dc4eedb17
@ -362,10 +362,10 @@ $ git reset --hard HEAD
|
|||||||
This will remove all local untracked files, so only files tracked by Git remain:
|
This will remove all local untracked files, so only files tracked by Git remain:
|
||||||
|
|
||||||
```sh
|
```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>
|
<a href="i-want-to-discard-specific-unstaged-changes"></a>
|
||||||
### I want to discard specific unstaged changes
|
### 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
|
## 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
|
* [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)
|
* [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
|
* [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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user