Note that there are some explanatory texts on larger screens.

plurals
  1. POGit - Http - Apache - Windows - fatal: git-http-push failed
    text
    copied!<p>Thank you for your time to see this thread.</p> <p>Facing an issue while push to git repository.</p> <p>Tried multiple solutions and threads in stakeoverflow but all the at last getting following error while push. error: Cannot access URL <code>http://localhost:82/Repo1.git/</code>, return code 22 fatal: git-http-push failed</p> <p>I am able to clone successfully but not able to push anything to remote repository. Following are the steps I followed: 1. Created a repository inside apache. 2. Clone the same on another location in the same machine and everything working fine. 3. When try to push from the new location getting above error.</p> <p>Following are my httpd.conf file:</p> <pre><code> Listen 82 SetEnv GIT_PROJECT_ROOT "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs" SetEnv GIT_HTTP_EXPORT_ALL ScriptAliasMatch \ "(?x)^/git/(.*/(HEAD|info/refs|objects/(info/[^/]+|[0-9a-f]{2}/[0-9a-f]{38}|pack/pack-[0-9a-f]{40}\.(pack|idx))|git-(upload|receive)-pack))$C:/Program Files/Git/libexec/git-core/git-http-backend.exe/"$1 &lt;Directory "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs"&gt; Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all &lt;/Directory&gt; LoadModule dav_module modules/mod_dav.so </code></pre> <p>Following are the config file of git repository:</p> <pre><code>[core] repositoryformatversion = 0 filemode = false bare = true symlinks = false ignorecase = true hideDotFiles = dotGitOnly [http] receivepack = true [remote "origin"] url = http://localhost:80/Repo1.git #url = http://Ishan:ishan@localhost:80/Repo1.git tried this as well but won't work. </code></pre> <p>Git always give following error:</p> <pre><code>error: Cannot access URL http://localhost:82/Repo1.git/, return code 22 fatal: git-http-push failed </code></pre> <p>Please help me to make it work properly, we are shifting to git and preparing the repositories for testing but I am stuck at this point.</p> <p>Thanks a lot in advance for all your help!</p> <p>Thank you, Ishan</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload