Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

How to remove a directory from git repository?

sql
git rm -r one-of-the-directories // This deletes from filesystem
git commit . -m "Remove duplicated directory"
git push origin <your-git-branch> (typically 'master', but not always)
Source by codegrepr.com #
 
PREVIOUS NEXT
Tagged: #How #remove #directory #git
ADD COMMENT
Topic
Name
3+6 =