0

I uploaded a Eclipse project to a BitBucket repository. I can see that Eclipse project in the BitBucket but I want to completely remove it from the BitBucket repository (without having to completely delete the repository and create a new repository). How do I remove this project? I am sorry I am git and bitbucket noob

Rajest Kahnna
  • 51
  • 1
  • 3
  • 6
  • possible duplicate of [Remove .pyc files from Git remote repository](http://stackoverflow.com/questions/26021040/remove-pyc-files-from-git-remote-repository) – Joe Dec 29 '14 at 13:48

2 Answers2

0

Use git rm to remove old folder

praveen_programmer
  • 1,072
  • 11
  • 25
0

if you want to replace the bitbucket repository with a new one . make a new local repository . add the remote and run this command

git push --force -u origin master

it will replace the history on bitbucket with the new one. also if you have created branches, you would want to delete them

Sojan Jose
  • 3,168
  • 6
  • 33
  • 52