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

Łukasz Jarych February 6, 2019


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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 6, 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).

Łukasz Jarych February 8, 2019

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

Like Mani Ahmadniaroudsari likes this

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events