diff --git a/src/plugins/git.jl b/src/plugins/git.jl index 36c79b3..19243a6 100644 --- a/src/plugins/git.jl +++ b/src/plugins/git.jl @@ -54,7 +54,7 @@ function prehook(p::Git, t::Template, pkg_dir::AbstractString) "https://$(t.host)/$(t.user)/$pkg.jl" end LibGit2.with(GitRemote(repo, "origin", url)) do remote - # TODO: `git pull` still requires some Git branch config. + LibGit2.add_fetch!(repo, remote, "refs/heads/master") LibGit2.add_push!(repo, remote, "refs/heads/master") end end