Hi, when trying to move my repository to another workspace I get the error msg
You can't transfer this repository because it has Git LFS files.
I use the web interface in
https://bitbucket.org/<workspace>/<repo>/admin
Repository details > Manage repository button
So while I guess there are reasons for this, how do I solve this problem? I need / want to move my repo from workspace A to B.
Hey @deckers91
Unfortunately, you can't transfer the repository if LFS files are present. However, don’t worry. You can follow these simple steps to address this issue:
git clone --mirror <repository_url>
git lfs fetch --all
git remote set-url origin <new-git-url>
git lfs push --all
I hope this helps!
Regards,
Syahrul
And it's done! The guide worked without a hitch!
Only in the last step, when trying to push the lfs, git told me that I should:
```
$ git lfs push
Specify a remote and a remote branch name
```
Which can be solved with:
```
git lfs push origin master --all
```
Now everything has been successfully moved to a new workspace.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.