1

I am trying to undo a "git init" command in github shell on Windows 8.1.

When I write

rm -r .git

it says:

rm : Cannot remove item : You do not have sufficient access rights to perfoem this operation.

It prints it for many files.

Any ideas to solve this?

4

1 回答 1

1

好吧,它只是把它写成一个错误,但是当我再次完成“git init”时它初始化了它,所以显然写“rm -r .git”是有效的。
该项目也成功上传到 github(这实际上是我一开始就想做的,撤消“git init”只是我必须做的许多“撤消”之一),所以一切都很好。

于 2015-01-15T19:18:26.110 回答