After having problem with estabilishing connection to github.com now I have a problem with next step - pushing. I need to mention, that I am novice at GIT service, and this whole Distributed Subversion Checking Systems world..
I have done
git init, then
git add *.h and
git add *.cpp, but currently
git status does not print anything in "# On branch master" section?
Previously It was correctly printing whole list of added files, now this list is gone.
Nextly, I have executed:
git remote add origin https://github.com/mgeeky/disasm.git
and error has occured after:
git push origin master Username: Password: error: Cannot access URL https://github.com/mgeeky/disasm.git/, return code 22 fatal: git-http-push failed
What should I do now? I've tried:
git push origin Username: Password: No refs in common and none specified; doing nothing. Perhaps you should specify a branch such as 'master'. Everything up-to-date
But it seems to be okay.
Yes, I have already done
git commit, I have a files in commit (named "initial" ) but still can't push them to github.com .
I had a problem with connection to the server. Through SSH I am not able to connect (problem 22: Bad file number), so only way for me is to use Smart HTTP method, so
I can't use
But this is not what I am asking about. The point is that after
git commit and after
git push origin master I receive
error: Cannot access URL https://github.com/mgeeky/disasm.git/, return code 22
fatal: git-http-push failed
What could I do with this? I still not able to use GIT and constantly trying.. Yes, I tried Github Bootcamp, and have stopped at 3.1 "Create A Repo"->"Commit your README" at
$ git remote add origin firstname.lastname@example.org:username/Hello-World.gitSets the origin for the Hello-World repo
$ git push origin master