go-git
go-git copied to clipboard
AddGlob("*") includes the .git folder into the commit
trafficstars
AddGlob("*") includes the .git folder into the commit, completely breaking the repo.
AddGlob("*") should skip the .git folder.
also , maybe unrelated , but AddGlob(".") fails on windows most of the time. from testing it looks like whenever there's at least one previous commit, i'm getting some weird error and its unable to add any file at all
On Windows AddGlob("*") behaves in the same way for me - it succeeds, but adds everything, including the .git folder into the commit.