git subtree push fatal: неоднозначный аргумент 'hash': неизвестная ревизия или путь не в рабочем дереве - PullRequest
0 голосов
/ 10 февраля 2019

Я пытаюсь вставить поддерево из одного репозитория в другое хранилище, что приводит к следующей ошибке:

git --no-optional-locks -c color.branch=false -c color.diff=false -c color.status=false -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree subtree push -P server-node https://repo@domain.org/owner/target-repo.git master 
fatal: ambiguous argument 'e0e8db1fef5b41add9a8f506ede9b5a125e221c6^0': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
could not rev-parse split hash e0e8db1fef5b41add9a8f506ede9b5a125e221c6 from commit 913b576358563c0f71555f1781bf35c5247dcd6c
To https://repo@domain.org/owner/target-repo.git
   3fade28..06d69da  06d69dae59e048c540c8288250f3ea2fcd030111 -> master
git push using:  https://repo@domain.org/owner/target-repo.git master
Completed successfully

Мне кажется, что он ищет коммит, который не существует?Может кто-нибудь объяснить, что именно означает эта ошибка и как я могу ее исправить?

Заранее большое спасибо!

...