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

config: add init.defaultBranch to the config #178

Merged
merged 2 commits into from Oct 30, 2020
Merged

config: add init.defaultBranch to the config #178

merged 2 commits into from Oct 30, 2020

Conversation

tomlazar
Copy link

Adds a new struct to the Config struct that includes the init.defaultBranch variable as mentioned here

init.defaultBranch
Allows overriding the default branch name e.g. when initializing a new repository or when cloning an empty repository.

@mcuadros
Copy link
Member

mcuadros commented Oct 9, 2020

Can you provide some tests? Thanks!

@tomlazar
Copy link
Author

tomlazar commented Oct 9, 2020

added a couple more tests for other functions in the config package, but most of the functions in there are pretty well covered, let me know if you want me to something for one of the other pacakges!

@mcuadros mcuadros changed the title Add init.defaultBranch to the config config: add init.defaultBranch to the config Oct 30, 2020
@mcuadros mcuadros merged commit d525a51 into go-git:master Oct 30, 2020
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.

None yet

2 participants