• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Git, Smart HTTP, and SSH

 
Greenhorn
Posts: 27
Google Web Toolkit Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I’ve set up a Git repository on a Linux box with an Apache server using the “Smart HTTP” CGI. On another workstation I can clone from it with “git clone http://server/git/project” but to push back I must change the URL in .git/config to url = ssh://server/u3/git/project. Is there any way to push back without SSH? And is it possible to set Smart HTTP so that I don’t have to enter my password each time? How?
 
Author
Posts: 44
5
Python VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Thad,

By any chance did you follow these set up steps:

http://git-scm.com/book/en/v2/Git-on-the-Server-Smart-HTTP

If so, then try leaving out the Auth block.

Also, if you did specify an Auth block, you might be able to embed the username/password right in the remote URL itself.

Good luck!
 
reply
    Bookmark Topic Watch Topic
  • New Topic