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

Error in the explanation to split repo



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

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