Skip to content

Commit

Permalink
Merge a25bde4 into e6353dd
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragonn authored Feb 1, 2019
2 parents e6353dd + a25bde4 commit a94ecac
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/store/git/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,11 @@ func (s *Store) Commit() (changed bool, err error) {
return false, nil
}

err = s.Git("pull", "-s", "recursive", "-X", "ours")
if err != nil {
return false, fmt.Errorf("failed to git pull -s recursive -X ours: %v", err)
}

err = s.Git("add", "-A")
if err != nil {
return false, fmt.Errorf("failed to git add -A: %v", err)
Expand Down

0 comments on commit a94ecac

Please sign in to comment.