sshs240
cd/opt/github/KantarProfiles
# verify you are ox0
ssh-Tgit@github.com
"Hi ox0! You've successfully authenticated, but GitHub does not provide shell access."exportREPO='busi-infrastructure'
gitclonegit@github.com:KantarProfiles/$REPO.git
cd$REPO
gitstatus
gitpull
exportBRANCH='XXX/xxx-xxx'
gitcheckout-B$BRANCH
/opt/github/git.config.sh
# do modification here
gitdiff
gitstatus
gitadd-A&&gitcommit-a-m$BRANCH
gitpush--set-upstreamorigin$BRANCH# clean upcd/opt/github/Kantar_Profiles
\rm-rf$REPO
Main changed
# merge the branch to new main
gitfetchorigin
gitcheckout$BRANCH
/opt/github/git.config.sh
gitmergeorigin/main
# edit the conflicted files, then
gitadd<file(s)-you-fixed>
gitcommit# completes the merge commit
gitpushorigin$BRANCH