Development Workflow

    1. Visit the DevStream repo: https://github.com/devstream-io/devstream;
    2. Click the button to create a fork of the DevStream.
    1. Define some basic environment variables

    Please set the appropriate values according to your actual environment.

    1. mkdir -p ${WORKING_PATH}
    2. cd ${WORKING_PATH}
    3. # You can also use the url: git@github.com:${USER}/${PROJECT}.git
    4. # if your ssh configuration is proper
    5. git clone https://github.com/${USER}/${PROJECT}.git
    6. git remote add upstream https://github.com/${ORG}/${PROJECT}.git
    7. git remote set-url --push upstream no_push
    1. Confirm the remotes you’ve set is make sense

    You will often need to update your local code to keep in sync with upstream

    1. git checkout main
    2. git rebase upstream/main

    Then start coding.

    1. git add <file>
    2. git commit -s -m "some description here"
    3. git push -f origin feat-xxx