Skip to content

Commit f4115ff

Browse files
danmarclaude
andcommitted
manual: recommend a clone with a .git folder for git-license-metrics
A bare clone has no .git folder. Use --no-checkout instead of --bare, so the file data is still not downloaded but the clone has a .git folder. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 2ffd724 commit f4115ff

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎man/manual.md‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1637,7 +1637,7 @@ Full clone:
16371637
If a "full clone" is too large you can clone like this. The file data is not cloned then, which
16381638
means that the "lines of code" can't be calculated:
16391639

1640-
git clone --bare --filter=blob:none URL
1640+
git clone --no-checkout --filter=blob:none URL
16411641

16421642
## Usage on Windows
16431643

@@ -1646,8 +1646,7 @@ Start the tool:
16461646
![Git License Metrics start window](images/git-license-metrics-start.png)
16471647

16481648
Click on "Select repository" and select the folder that contains your project code. The folder
1649-
you choose should contain the `.git` folder. If you made a bare clone, there is no `.git` folder; select
1650-
the cloned folder itself.
1649+
you choose should contain the `.git` folder.
16511650

16521651
![Selecting the repository folder](images/git-license-metrics-select.png)
16531652

0 commit comments

Comments
 (0)