Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
ci: Set default branch to main (#424)
git config --global init.defaultBranch main

https://github.blog/2020-07-27-highlights-from-git-2-28/
  • Loading branch information
Shohei Ueda authored and GitHub committed Jul 28, 2020
1 parent 2392f69 commit 4cf5105
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Expand Up @@ -33,6 +33,8 @@ ENV GITHUB_REPOSITORY_OWNER="peaceiris"
ENV GITHUB_ACTIONS="true"
ENV CI="true"

RUN git config --global init.defaultBranch main

WORKDIR /repo

CMD [ "bash" ]

0 comments on commit 4cf5105

Please sign in to comment.