Skip to content

Fix repository setup instructions when default branch is not master (#12122) #12147

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

Merged

Conversation

ashimokawa
Copy link
Contributor

@ashimokawa ashimokawa commented Jul 5, 2020

Backport #12122

the initial repo push instructions do not work, at least when the default branch is not master.

This should fix it.

@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Jul 5, 2020
@zeripath zeripath added type/bug and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jul 5, 2020
@zeripath zeripath added this to the 1.12.2 milestone Jul 5, 2020
@zeripath zeripath changed the title templates/repo/empty.tmpl : fix repo setup instructions (backport of #12122) templates/repo/empty.tmpl : fix repo setup instructions (#12122) Jul 5, 2020
@GiteaBot GiteaBot added the lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. label Jul 5, 2020
@lafriks lafriks changed the title templates/repo/empty.tmpl : fix repo setup instructions (#12122) Fix repositories setup instructions when default branch is not master (#12122) Jul 5, 2020
@lafriks lafriks changed the title Fix repositories setup instructions when default branch is not master (#12122) Fix repository setup instructions when default branch is not master (#12122) Jul 5, 2020
@lafriks lafriks merged commit c96da61 into go-gitea:release/v1.12 Jul 5, 2020
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants