Bitbucketのリポジトリが2Gを超えており、クローンなどするのの時間がかかってしまっています。
そこでリポジトリサイズを減らして、Bitbuketにpushしたいのですが、うまくいきません。
例えば
git filter-repo --path 00.jpg --invert-paths
を行ったあと、
git push origin master
git push origin --force —all
を行うと
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
になってしまいます。
git filter-repoを行う前ですと、
Everything up-to-date
になるのですが、、
こちらの画面を共有してWeb会議で指導していただきながら、
リポジトリサイズを減らして、Bitbuketにpushできるように指導していただけますでしょうか?
よろしくお願いいたします。
環境
Mac :Monterey 12.6
Bitbucket:
Sourcetree:バージョン4.1.3
git version 2.37.1 (Apple Git-137.1)