You're absolutely right, I checked the server and it looks like it is 
loosing authentication accessibility before its done causing the errors.  I 
found this site:

http://maymay.net/blog/2008/08/08/how-to-use-http-basic-authentication-with-git/

and it says I should make a .netrc on the Client Side.  This might fix the 
issue, the only thing is that it still prompts for a username and password. 
 Do you know much about .netrc?

This is what I wrote down:

machine [I tried both client_address.com and server_address.com]

username mavin

password [my password]


When I do a git clone, it still asks for a username and password on my Mac 
Client.  Am I setting it up correctly?

On Monday, August 20, 2012 6:37:07 PM UTC-6, Mavin Martin wrote:
>
> Hi List,
>
>
> I just installed and setup a git-scm system on one of our Ubuntu Servers. 
>  At first, everything was working fine but now I'm having issues I can't 
> fix.  Having two clients, *Client A* and *Client B*, this is what I did:
>
>
> *Server*
>
> $ git fsck
>
> $ git gc
>
>
> *Client A*
>
> $ git push
>
> Fetching remote heads...
>
>   refs/
>
>   refs/tags/
>
>   refs/heads/
>
> updating 'refs/heads/master'
>
>   from 0000000000000000000000000000000000000000
>
>   to   d88c184835085e5a76b58fd7cb6f96e37d6821ca
>
>     sending 12 objects
>
>     done
>
> Updating remote server info
>
> To https://mav...@mysite.com/git/mavin-repo/mavin-repo.git
>
>    dfe89e2..d88c184  master -> master
>
>
> *Client B*
>
> $ git pull --rebase
>
> error: The requested URL returned error: 401 (curl_result = 22, http_code 
> = 401, sha1 = 4b19e6f290edb6c97bab732c5f3972df5d385319)
>
> error: Unable to find 4b19e6f290edb6c97bab732c5f3972df5d385319 under 
> https://mav...@mysite.com/git/mavin-repo/mavin-repo.git
>
> Cannot obtain needed tree 4b19e6f290edb6c97bab732c5f3972df5d385319
>
> while processing commit 61ae663334202efcee96bb69f3f48247e25f9dac.
>
> error: Fetch failed.
>
>
> *Server*
>
> $ git update-server-info
>
>
> *Client B*
>
> $ git pull --rebase
>
> error: The requested URL returned error: 401 (curl_result = 22, http_code 
> = 401, sha1 = 4b19e6f290edb6c97bab732c5f3972df5d385319)
>
> error: Unable to find 4b19e6f290edb6c97bab732c5f3972df5d385319 under 
> https://mav...@mysite.com/git/mavin-repo/mavin-repo.git
>
> Cannot obtain needed tree 4b19e6f290edb6c97bab732c5f3972df5d385319
>
> while processing commit 61ae663334202efcee96bb69f3f48247e25f9dac.
>
> error: Fetch failed.
>
>
> I think *git update-server-info *isn't executing properly, anyone know 
> how to fix this issue?  Or does the issue even have to do with my apache 
> linked with git update-server-info?
>
>
> Thanks,
>
> Mavin
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/R0IlzhbtCPAJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to