set remotename=com_scr set prefix=Common_scripts set repository=git@hydra:jenkinsautobuild/Common_scripts.git set branch=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"