We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitGetter.update fails if repo contains submodule
package main import ( "github.com/hashicorp/go-getter" "log" "os" ) func main() { repoURL := "git@github.com:mayraamaral/submodule-father.git" // repo contains submodule destDir := "repo" for i := 0; i < 2; i++ { err := getter.GetAny(destDir, repoURL) // fails when i == 1 if err != nil { log.Println(err) } } }
The text was updated successfully, but these errors were encountered:
problem caused by rm .git but submodules have own .git modules the solution cud be
git pull --rebase
Sorry, something went wrong.
No branches or pull requests
GitGetter.update fails if repo contains submodule
The text was updated successfully, but these errors were encountered: