mieweb / wikiGDrive

Wiki for Google Shared Drive
15 stars 6 forks source link

git reset remote failed #337

Closed horner closed 1 year ago

horner commented 1 year ago

2022-11-10T15:04:06.273Z [info] (src/git/GitScanner.ts:46:21): git reset --hard refs/remotes/origin/master 2022-11-10T15:04:06.324Z [error] (src/git/GitScanner.ts:57:25): fatal: ambiguous argument 'refs/remotes/origin/master': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' fatal: ambiguous argument 'refs/remotes/origin/master': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'

ggodlewski commented 1 year ago

Unable to reproduce. No drive id, link, etc... Looks like wrong repo settings / remote branch name.