11 lines
358 B
Batchfile
11 lines
358 B
Batchfile
|
|
set remotename=com_scr
|
|
set prefix=Common_scripts
|
|
set repository=git@hydra:jenkinsautobuild/Common_scripts.git
|
|
set branch=origin/master
|
|
|
|
git remote add %remotename% %repository%
|
|
git subtree add --prefix %prefix% %remotename% %branch%
|
|
|
|
@echo "If this succeeded, PUSH main repository and SUBTREE PUSH the shared repository. "
|
|
@echo "DO NOT USE Fetch & Rebase"
|