23 lines
477 B
Bash
23 lines
477 B
Bash
git config --global user.email "d-popov@abv.bg"
|
|
git config --global user.name "Dobromir Popov"
|
|
|
|
|
|
#store credentals
|
|
git config --global credential.helper store
|
|
|
|
|
|
|
|
#add upstream (when forked)
|
|
git remote add upstream https://github.com/petals-infra/health.petals.dev.git
|
|
|
|
|
|
# merge upstream
|
|
git fetch upstream
|
|
git checkout main
|
|
git merge upstream/main --allow-unrelated-histories
|
|
git commit -m "Merged upstream/main"
|
|
|
|
# remove upstream
|
|
git remote remove upstream
|
|
git remote -v
|