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

Error in the explanation to split repo

Meir Kalter January 27, 2021

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

0 votes
Warren Boucher August 17, 2021

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

Atlassian Community Events