Skip to content

Latest commit

 

History

History
68 lines (44 loc) · 1.75 KB

CONTRIBUTING.md

File metadata and controls

68 lines (44 loc) · 1.75 KB

Contributing

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.

Tech

TBD

Main flow

git clone git@github.com:EverscaleGuild/locklift-sample.git
cd locklift-sample
git checkout -b feature/name-of-feature origin/main

Coding and testing local see README.md Develop

Git history: work log vs recipe https://www.bitsnbites.eu/git-history-work-log-vs-recipe/

Use Conventional Commits

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 pull requests

git push --set-upstream origin feature/name-of-feature

Follow by link:

https://github.com/EverscaleGuild/locklift-sample/pull/new/feature/name-of-feature

Update branch from main

A 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/main

During the rebase, there may be conflicts, they need to be resolved and after the decision to continue the rebase:

git rebase --continue

Upload 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 feature/name-of-feature

More details can be found in the tutorial: git rebase.