ropensci / git2rdata

An R package for storing and retrieving data.frames in git repositories.
https://ropensci.github.io/git2rdata/
GNU General Public License v3.0
99 stars 13 forks source link

vignette: handle when 'defaultBranch' is specified in '.gitconfig' #68

Closed stewid closed 2 years ago

stewid commented 2 years ago

This handles the push in the workflow vignette when the default branch is specified in the .gitignore

[init]
    defaultBranch = main
stewid commented 2 years ago

Another solution is to specify the branch name in the call to the init function to avoid that the branch name in .gitconfig is used.