Merge pull request #3967 from backstage/bug/isomorphic-git-fix
bug(scaffolder): Ignore the .git folder
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-scaffolder-backend': patch
|
||||
---
|
||||
|
||||
bug(scaffolder): Ignore the .git folder when adding dot-files to the index
|
||||
@@ -39,7 +39,7 @@ export async function initRepoAndPush({
|
||||
dir,
|
||||
});
|
||||
|
||||
const paths = await globby(['./**', './**/.*'], {
|
||||
const paths = await globby(['./**', './**/.*', '!.git'], {
|
||||
cwd: dir,
|
||||
gitignore: true,
|
||||
dot: true,
|
||||
|
||||
Reference in New Issue
Block a user