# USERNAME – your Github user account name.
git clone git@github.com:${USERNAME}/LightDance-Editor.git
cd LightDance-Editor
# set upstream
git remote add upstream git@github.com:NTUEELightDance/LightDance-Editor.git
# Don't push to the upstream main
git remote set-url --push upstream no_push
# check your setup
git remote -v
沒錢用 Jira,只好用 Github Issues
Submit 後可以到 https://github.com/orgs/NTUEELightDance/projects/1 連結去看
cd LightDance-Editor
# Make your local main up-to-date
git checkout main
git fetch upstream
git rebase upstream/main
# You can check your local commits
# make sure they are the same as the remote NTUEELightDance/LightDance-Editor repo
git log -- oneline
# Create a new branch for the new issue EDITOR-#{ISSUE_ID}
git checkout -b EDITOR-#{ISSUE_ID}
# Example
# git checkout -b EDITOR-#9
git add ${edited files}
git commit -m "EDITOR-#{ISSUE_ID} ${Commit Message}"
# Example
# git commit -m "EDITOR-#9. Update pull_request_template"