Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to rename file or folder (removing spaces and keep history)


how can i rename files in bitbuckt and retain history? I have to remove spaces from folder and files names...
Please help,

1 answer

1 vote
Mikael Sandberg Community Leader Feb 06, 2019

I would recommend using the command line to do the renaming, using git mv <old name> <new name>. It can be done from file explorer, but if you are on Windows you will have to be careful with cases, I have seen situations were a user renamed a folder and Windows changed the casing on it, causing it to show up twice in Bitbucket (our server is on Unix).

@Mikael Sandberg thank you. 
i will try your method. 

Like Mani Ahmadniaroudsari likes this

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events