I'm sure I messed something up in my Git n00b-ness, but my *magit:
elisp.repo* buffer looks like this:
Remote: remote nil
Local: master ~/src/elisp.repo/
Head: a704ba7... Add g-client in preparation for integration with
org or whatever
Untracked files:
.gitattributes
Unpulled commits:
fatal: ambiguous argument 'HEAD..remote/master': unknown revision
or path not in the working tree.
Use '--' to separate paths from revisions
Changes:
Modified elisp/config.d/my-loaddefs.el
...
Unpushed commits:
fatal: ambiguous argument 'remote/master..HEAD': unknown revision
or path not in the working tree.
Use '--' to separate paths from revisions
Can anyone help me un-bungle this? Thanks,
--
David Abrahams
BoostPro Computing
http://boostpro.com
> I'm sure I messed something up in my Git n00b-ness, but my *magit:
> elisp.repo* buffer looks like this:
>
> fatal: ambiguous argument 'remote/master..HEAD': unknown revision
> or path not in the working tree.
> Use '--' to separate paths from revisions
>
> Can anyone help me un-bungle this? Thanks,
This is usually what you see if you run magit-status on the .git
directory itself. Did this work previously?
John
Absolutely, it worked!
Backstory: Originally I had cloned my public url at GitHub, and when I
wanted to push, I fumbled around for quite a while trying to figure
out how to do the equivalent of svn switch --relocate. Eventually got
there with the help of some generous Git'ers, but clearly I left
something in a still-messed-up state.