opentensor / subtensor

Bittensor Blockchain Layer
The Unlicense
145 stars 149 forks source link

fix finney deploy merge conflicts 5/20/2024 #442

Closed sam0x17 closed 4 months ago

sam0x17 commented 4 months ago

reproduction steps:

git fetch && git checkout main && git pull origin main
git branch try-finney-deploy-5-20-2024
git checkout try-finney-deploy-5-20-2024
git merge origin/testnet

now at the merge conflict step, manually copy paste over the repo with the current files from testnet,

finally:

git add --all
git merge --continue

this gives us a clean merge commit that upgrades main to exactly what is currently on testnet, while preserving the commits, without messing up the state like the other merge methods were