Adding a Project to Gitorious with a Windows Computer

If you are developing software in Windows XP, Windows Vista or Windows 7, here are the steps to follow to push your project to Gitorious.

  1. Register and create a new project on Gitorious, if you haven’t done already.
  2. Install msysGit to have git on your Windows machine
  3. Click on “Git Bash” to start the command line
  4. Generate the SSH Key with "ssh-keygen -t rsa" and  press ‘Return’ in every question. Go to your Gitorious dashboard, click on “Manage SSH Keys” then “Add SSH Key“, copy the content of "cat ~/.ssh/id_rsa.pub” in Gitorious and click save
  5. Then go to your local project directory and follow the “getting started instructions” given in Gitorious, which should look like:
    • git config –global user.name “Your Name”
    • git config –global user.email “[email protected]
    • git checkout master
    • git remote add origin [email protected]:your-project/your-project.git
    • git push origin master

Then wait until the code is pushed to the Gitorious server.

If you also installed ToitoiseGit on your development machine, you may encounter the following error as you connect to Gitorious:

Disconnected: No Supported authentication methods available

To work around this issue check GIT_SSH environment variable is set to “/usr/bin/ssh.exe”:


If TortoiseGit  is installed, it may be set to “C:\Program Files\TortoiseSVN\bin\TortoisePlink.exe” instead and generate the error shown above.

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK 5 ITX RK3588 mini-ITX motherboard
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
0 Comments
oldest
newest
Boardcon Rockchip and Allwinner SoM and SBC products