VBScript 中读取环境变量

最近在编译的时候,需要用到VBScript,发现里面的某些调用路径是写死的实路径,因此修改了一下,提高灵活性一下。

error: .repo/manifests/: contains uncommitted changes

After a bit of googling and going through the mailing lists, I finally found the solution:

1. Go to ./repo/manifests
2. $ git reset --hard
3. $ repo sync

[Please note that there are two dashes "- -" before 'hard']

repo撤销本地修改

有的时候修改本地代码了,再次同步的时候会报错,需要清理代码的时候,可以执行这个命令