repo sync下来的代码为什么git branch看本地branch是no branch?
业精于勤,荒于嬉;行成于思,毁于随。
What is your repo init like? Have you specified branch? Or you can git branch -a to view all branches, and then switch to the branch you want.
I can believe that you did not cd into the directory you just cloned
try
git fetch --all && git reset --hard origin/master
What is your repo init like? Have you specified branch? Or you can git branch -a to view all branches, and then switch to the branch you want.
I can believe that you did not cd into the directory you just cloned
try