mirror of
https://github.com/git-tips/tips.git
synced 2024-09-21 00:01:03 +02:00
count-objects
This commit is contained in:
parent
def56a7e7b
commit
67b0393bb1
|
@ -92,6 +92,7 @@
|
||||||
* [Commits in Branch1 that are not in Branch2](https://github.com/git-tips/tips#commits-in-branch1-that-are-not-in-branch2)
|
* [Commits in Branch1 that are not in Branch2](https://github.com/git-tips/tips#commits-in-branch1-that-are-not-in-branch2)
|
||||||
* [reuse recorded resolution, record and reuse previous conflicts resolutions.](https://github.com/git-tips/tips#reuse-recorded-resolution-record-and-reuse-previous-conflicts-resolutions)
|
* [reuse recorded resolution, record and reuse previous conflicts resolutions.](https://github.com/git-tips/tips#reuse-recorded-resolution-record-and-reuse-previous-conflicts-resolutions)
|
||||||
* [Open all conflicted files in an editor.](https://github.com/git-tips/tips#open-all-conflicted-files-in-an-editor)
|
* [Open all conflicted files in an editor.](https://github.com/git-tips/tips#open-all-conflicted-files-in-an-editor)
|
||||||
|
* [Count unpacked number of objects and their disk consumption.](https://github.com/git-tips/tips#count-unpacked-number-of-objects-and-their-disk-consumption)
|
||||||
|
|
||||||
<!-- 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 -->
|
||||||
|
@ -607,7 +608,7 @@ git rebase -i --autosquash
|
||||||
|
|
||||||
## skip staging area during commit.
|
## skip staging area during commit.
|
||||||
```sh
|
```sh
|
||||||
git commit -am 'commit message'
|
git commit -am <commit message>
|
||||||
```
|
```
|
||||||
|
|
||||||
## List ignored files.
|
## List ignored files.
|
||||||
|
@ -635,5 +636,10 @@ git config --global rerere.enabled 1
|
||||||
git diff --name-only | uniq | xargs $EDITOR
|
git diff --name-only | uniq | xargs $EDITOR
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Count unpacked number of objects and their disk consumption.
|
||||||
|
```sh
|
||||||
|
git count-objects --human-readable
|
||||||
|
```
|
||||||
|
|
||||||
<!-- 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 -->
|
||||||
|
|
|
@ -265,7 +265,7 @@
|
||||||
"tip": "git rebase -i --autosquash"
|
"tip": "git rebase -i --autosquash"
|
||||||
}, {
|
}, {
|
||||||
"title": "skip staging area during commit.",
|
"title": "skip staging area during commit.",
|
||||||
"tip": "git commit -am 'commit message'"
|
"tip": "git commit -am <commit message>"
|
||||||
}, {
|
}, {
|
||||||
"title": "List ignored files.",
|
"title": "List ignored files.",
|
||||||
"tip": "git check-ignore *"
|
"tip": "git check-ignore *"
|
||||||
|
@ -281,4 +281,7 @@
|
||||||
}, {
|
}, {
|
||||||
"title": "Open all conflicted files in an editor.",
|
"title": "Open all conflicted files in an editor.",
|
||||||
"tip": "git diff --name-only | uniq | xargs $EDITOR"
|
"tip": "git diff --name-only | uniq | xargs $EDITOR"
|
||||||
|
}, {
|
||||||
|
"title": "Count unpacked number of objects and their disk consumption.",
|
||||||
|
"tip": "git count-objects --human-readable"
|
||||||
}]
|
}]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user