Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

git delete folder from repository code example

Example 1: how to remove git from a folder

rm -rf .git

Example 2: git remove folder from repository

# the -r option will recursively delete the folder
git rm -r folder-name
# commit changes
git commit -m "Remove duplicated directory"

Tags:

Shell Example

Related

react baigation code example html multiline comments code example mysql import sql from command line code example git delete commit message keep data code example push object in array angular code example unity topdown movement script code example preload key request code code example get the length of array c++ code example remove non numeric from string javascri^pt code example aws local mac code example where my phone code example apache2 Conf x does not exist! code example

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy