Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Error in the explanation to split repo

Meir Kalter
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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