Skip to content
This repository was archived by the owner on Aug 25, 2024. It is now read-only.

Commit dc5dc53

Browse files
authored
alice: README: Support earlier versions of git by getting branch name without --show-current
1 parent a30a4bf commit dc5dc53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entities/alice/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Create a new git repo and add some contents
115115
$ echo 'print("Hello World")' > test.py
116116
$ git add test.py
117117
$ git commit -sam 'Initial Commit'
118-
$ git push --set-upstream origin master
118+
$ git push --set-upstream origin $(git branch -r | sed -e 's/.*\///')
119119
120120
Ask Alice: please contribute recommended community standards to the repo
121121

0 commit comments

Comments
 (0)