Skip to content

Instantly share code, notes, and snippets.

@smnuman
Created June 27, 2014 16:57
Show Gist options
  • Save smnuman/feddd8fc3b6ca96f6ffa to your computer and use it in GitHub Desktop.
Save smnuman/feddd8fc3b6ca96f6ffa to your computer and use it in GitHub Desktop.
Single File Fetching error
I tried this :
git archive --remote=git@github.com:git/git.git HEAD:/contrib/completion/ git-completion.bash | tar xvf -
And got this error:
Invalid command: 'git-upload-archive 'git/git.git''
You appear to be using ssh to clone a git:// URL.
Make sure your core.gitProxy config option and the
GIT_PROXY_COMMAND environment variable are NOT set.
fatal: The remote end hung up unexpectedly
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment