I'm a Bitbucket noob and having a hard time getting started.
I'm trying to clean up the Bitbucket repository and my local git folder master and branch organisation.
My local computer's git folder has some folders deleted via Terminal $ rm -r folderName > $ git push.
Bitbucket repository still shows the folderName. How do I remove this?
I already deleted file and commited , but files cached on bitbucket.
Browse to the directory in the repository and branch that you want to delete. In the top-right corner, click "…", and then Delete directory. Review the list of files. Depending on your permissions and the branch protection rules, choose to either commit the change directly or propose the change using a pull request.
You can delete an individual file or an entire directory in your repository on GitHub. People with write permissions can delete files or directories in a repository.
You need to remove the folder from your local repository with git rm -r folderName
and then git commit -m 'Delete folder folderName because foo
(for example) and git push
.
You need to commit your changes before pushing them.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With