mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-28 15:52:49 +01:00
topdir.mk: Init push url explicitly
Explicitly set push url (git remote set-url --push) while configuring git repos. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
2cfb3a3df9
commit
a57440d896
1 changed files with 2 additions and 0 deletions
|
|
@ -102,9 +102,11 @@ git-config:
|
||||||
git config --global user.name $(FULL_NAME)
|
git config --global user.name $(FULL_NAME)
|
||||||
git config --global user.email $(WHOAMI)@jannet.de
|
git config --global user.email $(WHOAMI)@jannet.de
|
||||||
git remote add origin $(REMOTE_GIT_URL)
|
git remote add origin $(REMOTE_GIT_URL)
|
||||||
|
git remote set-url --push origin $(REMOTE_GIT_URL)
|
||||||
|
|
||||||
git-clone-to-remote:
|
git-clone-to-remote:
|
||||||
ssh git.jannet.de "/opt/ytools/bin/git-srv-admin.sh -j create-personal-project $(PROJECT)"
|
ssh git.jannet.de "/opt/ytools/bin/git-srv-admin.sh -j create-personal-project $(PROJECT)"
|
||||||
|
git remote set-url --push origin $(REMOTE_GIT_URL)
|
||||||
git push --set-upstream origin master
|
git push --set-upstream origin master
|
||||||
git push --all $(REMOTE_GIT_URL)
|
git push --all $(REMOTE_GIT_URL)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue