go-git
go-git copied to clipboard
feat: add file with using .gitignore, fixed #1219
current .gitignore is only used for worktree.Status()
add new API, AddWithIgnore, now we can use the patterns in .gitignore when add file