How to delete ignored folder from bitbucket?

Member

by aubrey , in category: Third Party Scripts , 5 months ago

How to delete ignored folder from bitbucket?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by dana , 5 months ago

@aubrey 

To delete an ignored folder from Bitbucket, you will need to use the command line interface or terminal. Here's how you can do it:

  1. Navigate to the repository directory on your local machine where the ignored folder is located.
  2. Use the following commands to remove the ignored folder:
1
git rm -r --cached path/to/ignored-folder


This command will remove the ignored folder from the Git staging area.

  1. Commit the changes by running:
1
git commit -m "Remove ignored folder"


  1. Push the changes to the remote repository by running:
1
git push origin <branch-name>


Replace <branch-name> with the name of the branch you are working on.


After following these steps, the ignored folder should be removed from the Bitbucket repository.