8475-pull.sh
#!/bin/bash
# ./branch.sh master
BRANCH=master
echo $BRANCH
BRANCH_HIDL=master
echo $BRANCH_HIDL
cd ~/bruce/SI
project=WLY
echo $project
cd ~/bruce/SI/camx
git checkout $BRANCH
git reset --hard HEAD^^^^^^^^^^^
git pull origin $BRANCH:$BRANCH
git reset --hard HEAD
git checkout $BRANCH
cd ~/bruce/SI/chi-cdk
git checkout $BRANCH
git reset --hard HEAD^^^^^^^^^^^
git pull origin $BRANCH:$BRANCH
git reset --hard HEAD
git checkout $BRANCH
branch.sh
#!/bin/bash
# ./branch.sh master
BRANCH=dev_20230325
echo $BRANCH
cd .
git reset --hard HEAD^^
git pull origin $BRANCH:$BRANCH
git reset --hard HEAD
git checkout $BRANCH
branch-add.sh
#!/bin/bash
# ./branch.sh master
echo $1
cd .
git reset --hard HEAD^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
git pull origin $1:$1
git reset --hard HEAD
git checkout $1
qcom-status.sh
#!/bin/bash
# ./branch.sh master
project=8475
echo $project
cd ~/$project/source/vnd/
cd ~/$project/source/vnd/vendor/qcom/proprietary/camx/
git status
cd ~/$project/source/vnd/vendor/qcom/proprietary/chi-cdk/
git status