I get "fatal: no matching remote head" when trying to clone a repository
Most likely the repository you are trying to clone is empty, and the error message is git's friendly way of telling you that. See below (or by clicking "more info" next to the repository's "push url") for info on how to push to it.
What is the SSH key fingerprint of the server I am pushing to?
The SSH key fingerprint of the git.sugarlabs.org server is:
has not been configured
How do I point my local Git repository at Gitorious?
Easiest way is to put something like the following in your
file of the repository you wish to push:
[remote "origin"] url = email@example.com:project/repository.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/masterand then
git push origin masterto push the code to Gitorious.
You can also just run "
git push firstname.lastname@example.org:tumbline/mainline.git", or
you can setup a remote by doing the following (add --fetch to the add call to
get the config from above):
git remote add origin email@example.com:project/repository.git # to push the master branch to the origin remote we added above: git push origin master # after that you can just do: git push
What version of Git is Gitorious running?
git version 18.104.22.168
How did my avatar/mugshot end up on this site? I am not even registered!
We use Gravatar.com for user avatars. If you have not registered on Gitorious, someone else may have pushed commits with you name and/or email in them which we in turn hash and send to to Gravatar.com to find an avatar image. If you want it changed you should either register and upload an avatar of your own, or go to Gravatar.com and change it.
Why do I need to upload my public SSH key?
When you push to a Git repository, your public key is how we authenticate you and check if have the permissions required to do a commit to a given repository
I have Windows. How do I generate the required SSH key?
The recommended way to use Git on Windows is the
msysGit version. It comes bundled
with minimal Cygwin support. When you finish installing it, you will have a "Git Bash"
icon in your desktop. Double click to open it and now you can use known Linux-like
commands, such as
"ssh-keygen -t rsa". Just press 'Return' in every question
it asks and you will finally have your pair of keys under ".ssh". For example, type
"cat ~/.ssh/id_rsa.pub". Thats is the public key that you are required to
copy and paste into your account on Gitorious.