我在分支feature_swap
那裏我做了一些改變,但我沒有足夠的信心推動feature_swap
分支的變化。所以我試圖創建另一個支行feature_swap_experiment
與git推一個分支
git branch feature_swap_experiment
git checkout feature_swap_experiment
現在我想推到feature_swap_experiment
我已經試過git push origin feature_swap_experiment
這是不工作
error: src refspec feature_swap_experiment does not match any.
error: failed to push some refs to 'https://[email protected]/uname/project.git'
您的錯誤消息似乎有點截斷。 「any」後面有什麼? – Dmitri
我現在也添加了最後一行。編輯 –