Skip to content
New issue

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

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

Merged
merged 2 commits into from
Feb 25, 2022

Conversation

stewid
Copy link
Member

@stewid stewid commented Feb 23, 2022

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

[init]
	defaultBranch = main

@stewid
Copy link
Member Author

stewid commented Feb 23, 2022

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.

@ThierryO ThierryO changed the base branch from main to styling February 25, 2022 12:10
@ThierryO ThierryO merged commit 63f80ef into ropensci:styling Feb 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants