mirror of
https://github.com/git-tips/tips.git
synced 2024-09-22 00:01:00 +02:00
--dry-run
This commit is contained in:
parent
7e6c5f71b2
commit
90d98ea980
|
@ -80,6 +80,7 @@
|
||||||
* [Make git case sensitive.](https://github.com/git-tips/tips#make-git-case-sensitive)
|
* [Make git case sensitive.](https://github.com/git-tips/tips#make-git-case-sensitive)
|
||||||
* [Auto correct typos.](https://github.com/git-tips/tips#auto-correct-typos)
|
* [Auto correct typos.](https://github.com/git-tips/tips#auto-correct-typos)
|
||||||
* [Check if the change was a part of a release.](https://github.com/git-tips/tips#check-if-the-change-was-a-part-of-a-release)
|
* [Check if the change was a part of a release.](https://github.com/git-tips/tips#check-if-the-change-was-a-part-of-a-release)
|
||||||
|
* [Dry run. (any command that supports dry-run flag should do.)](https://github.com/git-tips/tips#dry-run-any-command-that-supports-dry-run-flag-should-do)
|
||||||
|
|
||||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||||
<!-- @doxie.inject end toc -->
|
<!-- @doxie.inject end toc -->
|
||||||
|
@ -551,5 +552,10 @@ git config --global help.autocorrect 1
|
||||||
git name-rev --name-only <SHA-1>
|
git name-rev --name-only <SHA-1>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Dry run. (any command that supports dry-run flag should do.)
|
||||||
|
```sh
|
||||||
|
git clean -fd --dry-run
|
||||||
|
```
|
||||||
|
|
||||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||||
<!-- @doxie.inject end -->
|
<!-- @doxie.inject end -->
|
||||||
|
|
|
@ -243,4 +243,7 @@
|
||||||
}, {
|
}, {
|
||||||
"title": "Check if the change was a part of a release.",
|
"title": "Check if the change was a part of a release.",
|
||||||
"tip": "git name-rev --name-only <SHA-1>"
|
"tip": "git name-rev --name-only <SHA-1>"
|
||||||
|
}, {
|
||||||
|
"title": "Dry run. (any command that supports dry-run flag should do.)",
|
||||||
|
"tip": "git clean -fd --dry-run"
|
||||||
}]
|
}]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user