Skip to content

Commit 67b0393

Browse files
committed
count-objects
1 parent def56a7 commit 67b0393

File tree

2 files changed

+208
-199
lines changed

2 files changed

+208
-199
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
* [Commits in Branch1 that are not in Branch2](https://github.com/git-tips/tips#commits-in-branch1-that-are-not-in-branch2)
9393
* [reuse recorded resolution, record and reuse previous conflicts resolutions.](https://github.com/git-tips/tips#reuse-recorded-resolution-record-and-reuse-previous-conflicts-resolutions)
9494
* [Open all conflicted files in an editor.](https://github.com/git-tips/tips#open-all-conflicted-files-in-an-editor)
95+
* [Count unpacked number of objects and their disk consumption.](https://github.com/git-tips/tips#count-unpacked-number-of-objects-and-their-disk-consumption)
9596

9697
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
9798
<!-- @doxie.inject end toc -->
@@ -607,7 +608,7 @@ git rebase -i --autosquash
607608

608609
## skip staging area during commit.
609610
```sh
610-
git commit -am 'commit message'
611+
git commit -am <commit message>
611612
```
612613

613614
## List ignored files.
@@ -635,5 +636,10 @@ git config --global rerere.enabled 1
635636
git diff --name-only | uniq | xargs $EDITOR
636637
```
637638

639+
## Count unpacked number of objects and their disk consumption.
640+
```sh
641+
git count-objects --human-readable
642+
```
643+
638644
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
639645
<!-- @doxie.inject end -->

0 commit comments

Comments
 (0)