Error:. repo/manifests/: Contains uncommitted changes

Source: Internet
Author: User
You have downloaded the android source code, but now you need to update it, You can directly use repo sync to synchronize it to your local device. The following error may occur:
$ Repo sync
Remote: counting objects: 10, done.
Remote: compressing objects: 100% (4/4), done.
Remote: Total 6 (delta 2), reused 6 (delta 2)
Unpacking objects: 100% (6/6), done.
From git: // github.com/richi-chen/pandabard-ics-repo
3ea7f09... 11ecd6d master-> origin/Master
534d620 .. 5fa74f5 omapzoom-> origin/omapzoom
Error:. repo/manifests/: Contains uncommitted changes
Solution:
Richi prawns:
To recover any uncommitted change, you should use 'git stash 'and 'git clean-F-d'
For example: If you find it say there are uncommitted changes in. repo/manifests, you shoud 'CD. repo/manifests 'and then 'git stash', 'git clean-F-d'

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.