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
4,361,190
Community Members
 
Community Events
168
Community Groups

Error in the explanation to split repo

Edited

Hi,

I want to split my repo.

Therefore i tried to use the explanation  the explanation what should be done.

In the second step - the following command:

git remote add origin https://tutorials@bitbucket.org/tutorials/freshrepo.git

failed with error : 

C:\testsplit\freshrepo>git filter-branch ...
fatal: bad revision 'RM' 

Do you have any idea?

1 answer

Windows needs double quotes.
git filter-branch --index-filter "git rm --cached -r lildir lildir2" -- --all

Suggest an answer

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

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

3,493 views 3 10
Read article

Atlassian Community Events