Merge pull request #8717 from awanlin/topic/allow-for-bare-clone

Allow for bare clone and retrieving commit history
This commit is contained in:
Johan Haals
2022-01-04 10:26:01 +01:00
committed by GitHub
4 changed files with 57 additions and 14 deletions
+8
View File
@@ -0,0 +1,8 @@
---
'@backstage/backend-common': patch
---
Updated the Git class with the following:
- Added `depth` and `noCheckout` options to Git clone, using these you can create a bare clone that includes just the git history
- New `log` function which you can use to view the commit history of a git repo