Anatoly Yakovenko wrote:
$ git-pull
fatal: 'origin': unable to chdir or not a git archive
fatal: The remote end hung up unexpectedly
Since you did not clone from anywhere, the remote "origin" is not set.
You will have to do that yourself:
git remote add -f origin http://aeyakovenko@xxxxxxxxxxxx/git/repo/
Thanks, that worked. but push still gives me an error:
$ git pull
You asked me to pull without telling me which branch you
want to merge with, and 'branch.master.merge' in
your configuration file does not tell me either. Please
name which branch you want to merge on the command line and
try again (e.g. 'git pull <repository> <refspec>').
See git-pull(1) for details on the refspec.
If you often merge with the same branch, you may want to
configure the following variables in your configuration
file:
branch.master.remote = <nickname>
branch.master.merge = <remote-ref>
remote.<nickname>.url = <url>
remote.<nickname>.fetch = <refspec>
See git-config(1) for details
Did you follow this advice? You've set up the
origin's URL now, and so it knows from where the
fetch step will happen, but have you set up the
merge step yet? Does it know what branches to
merge on that pull request?
jdl
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html