mirror of
https://github.com/namibia/tips.git
synced 2024-12-22 18:18:58 +00:00
List ignored files.
This commit is contained in:
parent
7dcbedb269
commit
27f7cefb1b
14
README.md
14
README.md
@ -84,9 +84,10 @@
|
||||
* [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)
|
||||
* [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)
|
||||
* [Marks your commit as a fix of a previous commit](https://github.com/git-tips/tips#marks-your-commit-as-a-fix-of-a-previous-commit)
|
||||
* [Marks your commit as a fix of a previous commit.](https://github.com/git-tips/tips#marks-your-commit-as-a-fix-of-a-previous-commit)
|
||||
* [squash fixup commits normal commits.](https://github.com/git-tips/tips#squash-fixup-commits-normal-commits)
|
||||
* [skip staging area during commit](https://github.com/git-tips/tips#skip-staging-area-during-commit)
|
||||
* [skip staging area during commit.](https://github.com/git-tips/tips#skip-staging-area-during-commit)
|
||||
* [List ignored files.](https://github.com/git-tips/tips#list-ignored-files)
|
||||
|
||||
<!-- 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 -->
|
||||
@ -590,7 +591,7 @@ git name-rev --name-only <SHA-1>
|
||||
git clean -fd --dry-run
|
||||
```
|
||||
|
||||
## Marks your commit as a fix of a previous commit
|
||||
## Marks your commit as a fix of a previous commit.
|
||||
```sh
|
||||
git commit --fixup <SHA-1>
|
||||
```
|
||||
@ -600,10 +601,15 @@ git commit --fixup <SHA-1>
|
||||
git rebase -i --autosquash
|
||||
```
|
||||
|
||||
## skip staging area during commit
|
||||
## skip staging area during commit.
|
||||
```sh
|
||||
git commit -am 'commit message'
|
||||
```
|
||||
|
||||
## List ignored files.
|
||||
```sh
|
||||
git check-ignore *
|
||||
```
|
||||
|
||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||
<!-- @doxie.inject end -->
|
||||
|
@ -258,12 +258,15 @@
|
||||
"title": "Dry run. (any command that supports dry-run flag should do.)",
|
||||
"tip": "git clean -fd --dry-run"
|
||||
}, {
|
||||
"title": "Marks your commit as a fix of a previous commit",
|
||||
"title": "Marks your commit as a fix of a previous commit.",
|
||||
"tip": "git commit --fixup <SHA-1>"
|
||||
}, {
|
||||
"title": "squash fixup commits normal commits.",
|
||||
"tip": "git rebase -i --autosquash"
|
||||
}, {
|
||||
"title": "skip staging area during commit",
|
||||
"title": "skip staging area during commit.",
|
||||
"tip": "git commit -am 'commit message'"
|
||||
},{
|
||||
"title": "List ignored files.",
|
||||
"tip": "git check-ignore *"
|
||||
}]
|
||||
|
Loading…
Reference in New Issue
Block a user