https://chuangjiaxu.notion.site/Develop-Flow-2b2bbf9bd60d4f059ce28f65ca46ae6a
https://github.com/NTUEELightDance/LightDance-Editor
# USERNAME – your Github user account name.
git clone [email protected]:${USERNAME}/22-robot-dog.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
cd 22-robot-dog
# 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 {TYPE}-#{ISSUE_ID}
# Types: bug, feature
git checkout -b {TYPE}-#{ISSUE_ID}
# Example
# git checkout -b feature-#9
git add ${edited files}
git commit -m "{bug|feature}-#{ISSUE_ID} ${Commit Message}"
# Example
# git commit -m "feature-#9. Update pull_request_template"
git fetch upstream
git rebase upstream/main
ps. 不是 NTUEELightDance/LightDancee-Editor,而是 <你的 Github>/LightDance-Editor