Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Moving a repo to a directory with renaming

Hello,

Happy new year to everybody.... I've got a task to achieve that regards a series of projects imported last year from Visual SourceSafe. The import created a middle folder that now I wish to resolve, so that we can have a clean source base.

 

I explain you what's the current structure of a Project, let's name it Project2021

 

I've a series of repositories that have the current structure

 

Bin7/Project2021/Bin7

Images/Project2021/Images

Sources/Project2021/Sources and so on

 

Now I wish to have them in the form

 

Project2021/bin (which should merge the Bin7 and Sources folder) , Project2021/Images and so on...keeping the history.

 

I've tried almost everything and also tried to use filter-repo to clone the history from the Project2021 folder, but after the git mv command , the history is gone... anyone have experience on this?

 

Thanks

Paolo

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

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 ...

2,570 views 1 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you