Sentre
Search…
Updating to New Releases
We recommend creating a new branch for updates, because there may be several conflicts you need to resolve.
Run git remote add senhub https://github.com/DescartesNetwork/senhub.git if the senhub remote was not added.
Pull new releases from senhub, the main repo for Sentre's platform.
1
git checkout -b feature/new-releases
2
git pull senhub master
Copied!
If there are conflicts that require merges. You should commit those changes before come back to the active branch.
1
git add .
2
git commit -m "update new release"
Copied!
After the update, the new releases are available in feature/new-releases branch. You need to merge back to your active development branch.
1
// For example your active branch is 'develop'
2
git checkout develop
3
git merge feature/new-releases
Copied!
The platform is actively updated, so it's pretty necessary to frequently pull the senhub repo.
Copy link