forked from coop-cloud/abra
parent
7d8f3f1fab
commit
2db5378418
@ -24,7 +24,7 @@ func Init(repoPath string, commit bool) error {
|
||||
logrus.Fatal(err)
|
||||
}
|
||||
|
||||
if err := commitWorktree.AddGlob("**"); err != nil {
|
||||
if err := commitWorktree.AddWithOptions(&git.AddOptions{All: true}); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user