jw-pkg/make/git-submod.mk
Jan Lindemann 0ebf46cb06 git-submod.mk: Add git-submod-test-init-remote
Signed-off-by: Jan Lindemann <jan@janware.com>
2016-05-08 13:12:31 +00:00

21 lines
1.1 KiB
Makefile

all:
git-submod-init-remote:
@echo "FIXME: git-srv-admin.sh needs to support creating a bare repo below <user>/contrib/<project>."
@echo "FIXME: Then this target in $(lastword $(MAKEFILE_LIST)) has to do the following:"
@echo "FIXME: - Use that,"
@echo "FIXME: - rename remote \"origin\" to \"upstream\", # git remote rename origin upstream"
@echo "FIXME: - add new remote origin pointing to newly created repo, # git remote add origin ssh://jan@git.jannet.de/srv/git/jan/contrib/<project>"
@echo "FIXME: - fix remote to push to # git config branch.master.remote origin"
@echo "FISME: - set standard branch (should be okay anyway) # git config branch.master.merge refs/heads/master"
@echo "FIXME: - push contents there."
@exit 1
git-submod-test-init-remote:
git remote rename origin upstream
git remote add origin ssh://jan@git.jannet.de/srv/git/jan/contrib/$(PROJECT_DIRNAME)
git config branch.master.remote origin
git config branch.master.merge refs/heads/master
@echo "FIXME: - push contents there."
@exit 1