先向git確認身份
git config --global user.email "you@example.com"
看一下當前在哪個分支上(沒啥影響)
git status
lculation$ git status
位于分支 my_new_branch
您的分支與上游分支 'origin/main' 一致。
?用origin/main分支來新建一個分支
git checkout -b with_time_test origin/main
?分支 'with_time_test' 設置為跟蹤來自 'origin' 的遠程分支 'main'。
切換到一個新分支 'with_time_test'
提交修改和說明
git add .
git commit -m "增加了對總任務時間和線程工作時間間隔的測試"
?然后就可以推上去
git push -u origin with_time_test