如何从忘记“回购开始”中恢复?

时间:2019-01-10 22:58:04

标签: repo

如果我正在进行Android更改,而我git commit却忘记了repo start,那么如何从中恢复,以便repo upload进行更改?

1 个答案:

答案 0 :(得分:0)

追溯repo start new-branch-name

git checkout -b new-branch-name
git branch --set-upstream-to aosp/master
repo upload .