You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hello,
i use ubuntu and i install git for push my script on bitbicket.
i pushed a file in branch master but now i want to delete this file, the problem is i don't know how to do that, i use this command but not work:
git rm test.vmware.yaml
thanks for any information,
Hi @adtyh jkipmsd, thanks for reaching out!
First of all, please note that this is not a Bitbucket specific question, this is a question specific to Git. That said, I'll still try to help you but you might also like to know that there are other multiple forums where you can find help and information regarding this system :)
The command you pasted above is only one command from the sequence of commands you need to make the operation effective. The removal would go something like this:
git rm <directory>
git commit -m "Removed Directory"
git push origin master
Once you push the change (the removal of the file/s) the operation will be completed and the file/s deleted. If the operation is not successful, you should receive some kind of error. If you do, please let us know and share here the error message so we can look into it.
For additional information, you can also read Git's official documentation.
Hope that helps!
Ana
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.