hg (mercurial) how to delete all unkonwn file or unversion file?
hg (mercurial) how to delete all unkonwn file or unversion file?
On windows
On mac
hg st -nu|xargs -I \{ rm \{
这里\{是在命令行中输入的,一个代替字符串,就是前面列表中文件的名称
On windows
for /F %i in ('hg st -nu') do del %iOn mac
hg st -nu|xargs -I \{ rm \{
这里\{是在命令行中输入的,一个代替字符串,就是前面列表中文件的名称
浙公网安备 33010602011771号