1
0
mirror of https://github.com/namibia/tips.git synced 2024-06-02 02:11:15 +00:00

count-objects

This commit is contained in:
Hemanth.HM 2016-03-29 21:41:53 +05:30
parent def56a7e7b
commit 67b0393bb1
2 changed files with 208 additions and 199 deletions

View File

@ -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)
* [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)
* [Count unpacked number of objects and their disk consumption.](https://github.com/git-tips/tips#count-unpacked-number-of-objects-and-their-disk-consumption)
<!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end toc -->
@ -607,7 +608,7 @@ git rebase -i --autosquash
## skip staging area during commit.
```sh
git commit -am 'commit message'
git commit -am <commit message>
```
## List ignored files.
@ -635,5 +636,10 @@ git config --global rerere.enabled 1
git diff --name-only | uniq | xargs $EDITOR
```
## Count unpacked number of objects and their disk consumption.
```sh
git count-objects --human-readable
```
<!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end -->

View File

@ -265,20 +265,23 @@
"tip": "git rebase -i --autosquash"
}, {
"title": "skip staging area during commit.",
"tip": "git commit -am 'commit message'"
},{
"tip": "git commit -am <commit message>"
}, {
"title": "List ignored files.",
"tip": "git check-ignore *"
},{
}, {
"title": "Status of ignored files.",
"tip": "git status --ignored"
},{
}, {
"title": "Commits in Branch1 that are not in Branch2",
"tip": "git log Branch1 ^Branch2"
}, {
"title": "reuse recorded resolution, record and reuse previous conflicts resolutions.",
"tip":"git config --global rerere.enabled 1"
},{
}, {
"title": "Open all conflicted files in an 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"
}]