erplibre/doc/FAQ.md
Marie-Michele Poulin d8ef5912e4 [FIX] text correction in documentation
Signed-off-by: Marie-Michèle Poulin <marie-michele.poulin@technolibre.ca>
2020-09-30 21:02:19 -04:00

788 B

FAQ

git-repo

error.GitError fatal bad revision

Example:

error.GitError: manifests rev-list (u'^2736dfd46e8a30cf59a9cd6e93d9e56e87021f2a', 'HEAD', '--'): fatal: bad revision 'HEAD'

Did you modify files in .repo?

To reset files from your branch into .repo:

cd .repo/manifests
git branch -av
> remotes/m/rel/8953/zd552kl/7.1.1-11.40.208                -> origin/rel/8953/zd552kl/7.1.1-11.40.208
> remotes/origin/dev/ze550kl/asus/5.0.0-20150208            11a37fe set dev/ze550kl/asus/5.0.0-20150208
> remotes/origin/rel/8953/zd552kl/7.1.1-11.40.208           2736dfd Remove opencv3 from the manifest
# To reset the "remotes/origin" use the same as "remotes/m"
git reset --hard REF_OF_REMOTES/m
> git reset --hard remotes/origin/rel/8953/zd552kl/7.1.1-11.40.208