This agreement is for collaboration, it may not be detailed enough, if it is not clear how to do what you want, this is a normal situation, just ask your colleagues.
git clone git@github.com:elemgame/random.git elemgame-random
cd elemgame-random
git checkout -b name-of-feature origin/main
npm install
npm run build
npm test
npm run deploy-local
npm run deploy-testGit history: work log vs recipe https://www.bitsnbites.eu/git-history-work-log-vs-recipe/
git commit --message "feat: paypal payment for different users"or
git commit --message "fix: hide password display when searching for a user"Push and create merge requests
git push --set-upstream origin name-of-featureFollow by link:
https://github.com/elemgame/random/pull/new/name-of-featureA tidy, linear Git history https://www.bitsnbites.eu/a-tidy-linear-git-history/
Get the latest upstream changes and update the working branch:
git fetch --prune origin
git rebase --autostash --ignore-date origin/mainDuring the rebase, there may be conflicts, they need to be resolved and after the decision to continue the rebase:
git rebase --continueUpload the updated working branch to the repository, given that we changed the history, this should be done with the force option:
git push --force --set-upstream origin name-of-featureMore details can be found in the tutorial: git rebase.