Trying to remove git repo on ubuntu guest

前端 未结 4 784
清酒与你
清酒与你 2021-02-08 02:53

I am trying to remove whole git repository from my local machine, but git prohibits to delete several files.

I\'ve tried:

  1. rm -r folder
4条回答
  •  北海茫月
    2021-02-08 03:20

    1. Close any git clients that might be running.

    2. Set the permissions to delete first:

      chmod -R 777 folder
      
    3. Try to force the deletion:

      rm -rf folder
      

提交回复
热议问题