Github からレポをフェッチし、過去のタグを元に戻し、すべての履歴を削除して別のリモートにプッシュしようとしています。すべてのコミットログを削除することを除いて、以下ですべてを行うことができます。私は何が欠けていますか?
git clone https://github.com/user/user-repo.git
cd user-repo
git reset --hard tags/v2.0
git remote add stash ssh://git@myserver:7999/myproject/user-repo.git
git push --force stash master