Pages

Saturday, January 21, 2023

Git Push & Pull Submodules

# To pull the Git branch along with submodules 

git clone --recurse-submodules <Repo URL>

for eg) 

git clone --recurse-submodules StruxureWareCloud@URL/StruxureWareCloud/Exchange/exst_infra


# To change / switch the branch

git branch

git checkout <new branch>


# To branch out to new branch

git remote -v

git checkout -b Feature/Blah_Blah develop


# To push to Git Branch

git push --set-upstream origin Feature/Listener_rule_frontend


git push -u origin

No comments:

Post a Comment