. Advertisement .
..3..
. Advertisement .
..4..
Excuse me, how to delete folder in Gitlab repository? this is new to me so i haven’t figured out how to do it yet. If anyone knows please point me out.
- Go to the directory where the file you wish to remove then type the following command: rm -rf <Directory Name>
- Commit the changes after deleting the folder
- Finally push the changes on the remote directory
This is details of the command line to delete folder in Gitlab repository:
git rm -r --cached <folder>
git commit -m "Deleted Folder"
git push origin master
This is the solution that I found somewhere, it helped me resolve the problem. I hope that help you
Hope my suggestion can improve your trouble
Option 1
Option 2
Using the second option if the first command can not delete the files
It works to my problem as the same. Thank guy
@tptutoria that works, I tried to copy your command and it returns the correct value
I just leave here the relevant knowledge that ittutoria.net help us to get the cause. I just