-
i had same error. use following pattern: https://user:pass@git.bettercodes.org/youProjectName
-
hi, i will try this…
what is the correct procedure to checkin the source code?
shoult i create a local repository and push this to the remote repository?
must i use:
git push origin master
or only
git push origin?
OR
should i clone the remote repository? the i get following message:
warning: remote HEAD refers to nonexistent ref, unable to checkout.
is there a nice tutorial on bettercodes.org which is the correct procedure?
-
Bjoern Gottowik · posted 1 year, 8 months ago · View
Please use this initialization process
cd my_project
git init
git add *
git commit -m ”My initial commit message”
git remote add origin git@example.com:my_project.git
git push origin masterLast line is important! Always push origin master before
git clone git@example.com:my_project.git
Hope this helps!
-
Hi Bjoern, i trried this
git init
git add *
git commit -m ”Initial”
git remote add origin git@bettercodes.org:myproject.git
git push origin master
then i get following error message:
Under windows (with msysgit):
From putty: Disconnected: No supported autentication method availibleand in the command line
fatal: The remote end hung up unexpectedlyKnow i will test it under linux…
Is it my mistake?
-
-
Bjoern Gottowik · posted 1 year, 8 months ago · View
Mathias wrote an entry on his blog here: http://blog.mathiaslin.com/project-hosting-on-bettercodesorg-with-git
Thanks!!!
Hey guys…we are very, very sorry for the taking down SVN and GIT yesterday for a while. We moved everything to a more powerful server… as you probably know…sometimes things do not work out as expected. Thanks for you patience and please stay with us!!!
-
Niklas Günther · posted 1 year, 8 months ago · View
Does it work now?
We changed some Server-Settings. Please be sure to set:
git config –global http.sslVerify false
Because if this isn’t, it causes a lot of problems with our ssl-certificate.
-
Hi,
it should work now!
A short summary:First of all, you have to do this:
git config –global http.sslVerify false
If you want to create a new project:
mkdir yourDirectory
cd yourDirectorygit init
git add .
git commit -m ”Your commit message”
git remote add origin https://user:pass@git.bettercodes.org/yourProjectName
git push origin master
If you want to work on a distributed project do this:
git clone https://user:pass@git.bettercodes.org/yorprojectName
-
Lenka Pitonakova · posted 1 year, 8 months ago · View
I tried doing exactly that and I get an error: https://myName:myPass@git.bettercodes.org/MyProject/info/refs not found: did you run git update-server-info on the server?
Would it have something to do with the fact that even though I created the project and clicked on create git repository, the message on the Repositories page still says there is no available?
-
Lenka Pitonakova · posted 1 year, 8 months ago · View
OK after some playing with it I got permission denied error:
git clone myUserName@bettercodes.org:MyProjName.git
Cloning into EvolNoFitnessFunc…
Permission denied (publickey).I couldn’t find anywhere on the web site where I could put my public key though?
Hi! Please try this URL for cloning your project:
git clone https://user:pass@git.bettercodes.org/yorprojectName
Thanks Bjoern, but when I did that I got an error: fatal: https://mynane:mypass@git.bettercodes.org/EvolNoFitnessFunc/info/refs not found: did you run git update-server-info on the server?
Any other ideas?
Ok I tried re-creating a git repository in that and another project of mine through this web site and got an error message. Is there a general problem with creating new repositories at the moment?
-
Lenka Pitonakova · posted 1 year, 7 months ago · View
Hi again, I believe the problem with creating git repositories on the site has been solved, thank you! I just used Ronny’s method and it worked this time.
-
John Glaros · posted 1 year, 7 months ago · View
I have attempted Ronny’s way several times, and always end up with the error below when pushing:
John@JOHN-PC ~/workspace/gitrepo2 (master)
$ git push origin master
Fetching remote heads…
refs/
refs/heads/
refs/tags/
updating ’refs/heads/master’
from 0000000000000000000000000000000000000000
to e337079b18d0244252ab4244da7a6bd3b3cb54bd
sending 11 objects
MOVE fa272c565998d0e717e7b4fa2d93e212ac8fcd93 failed, aborting (22/400)
MOVE 45e6a7285a8560ac47b4197ea440bce46561e379 failed, aborting (22/400)
MOVE cdea74e1b72ba320a49668e79cf786aca668c43f failed, aborting (22/400)
MOVE 056f06c8216f251e196714c1e2f73cf3d78ee51a failed, aborting (22/400)
MOVE bde5cd1f5ebf13909457afdef00c08253707b272 failed, aborting (22/400)
Updating remote server info
fatal: git-http-push failed -
Abdul-Fattah Mahran · posted 1 year, 6 months ago · View
I am working using proxy and I can not make ”git push origin master”
-
worse codes · posted 1 year, 5 months ago · View
Some extra info, guess I’ll just add to the thread… If after following all the steps to set up git you get the following error:
$ git push origin master
fatal: Authentication failedThen try removing special characters from your bettercodes.org password.
-
Vibhav Garg · posted 1 year, 2 months ago · View
git push origin master
error: src refspec master does not match any. -
Alex Stringel · posted 11 months, 2 weeks ago · View
The WebDav is not configured correctly because this should go through easily…they need to check their server configs…
-
George Zhang · posted 10 months, 3 weeks ago · View
i have some error infor as: error: Failed connect to git.bettercodes.org:443; anybody has any idea?
-
Gustavo Neves · posted 7 months, 2 weeks ago · View
Hi, I have been trying for many many hours and getting the same error Lenka got:
https://mynane:mypass@git.bettercodes.org/ProjectName/info/refs not found: did you run git update-server-info on the server?
I am totally clueless on how to proceed
any ideas?