Development Workflow
- Visit the DevStream repo: https://github.com/devstream-io/devstream;
- Click the button to create a fork of the DevStream.
- Define some basic environment variables
Please set the appropriate values according to your actual environment.
mkdir -p ${WORKING_PATH}
cd ${WORKING_PATH}
# You can also use the url: git@github.com:${USER}/${PROJECT}.git
# if your ssh configuration is proper
git clone https://github.com/${USER}/${PROJECT}.git
git remote add upstream https://github.com/${ORG}/${PROJECT}.git
git remote set-url --push upstream no_push
- Confirm the remotes you’ve set is make sense
You will often need to update your local code to keep in sync with upstream
git checkout main
git rebase upstream/main
Then start coding.
git add <file>
git commit -s -m "some description here"
git push -f origin feat-xxx