Re: [CentOS] Hi again problem with minimal CentOS and Github

2014-10-12 Thread Johnny Hughes
On 10/11/2014 04:27 AM, Niki Kovacs wrote:
 Le 11/10/2014 11:03, Niki Kovacs a écrit :
 # git push
 error: The requested URL returned error: 403 Forbidden while accessing
 https://github.com/kikinovak/centos/info/refs
 fatal: HTTP request failed

 Now I think there must be some missing component in my CentOS
 installation, because my Slackware workstation in the same network can
 push things just fine.
 
 I'll answer this myself, since I just stumbled over the solution. It
 seems that the version of Git shipping with CentOS has a little problem
 with Github. The solution is to add the username to the URL like this:
 
 # git remote set-url origin
 https://kikino...@github.com/kikinovak/centos.git

I created a newer version of git for CentOS-6 that works better with
github.  Hopefully Red Hat will upgrade to this version for EL6:

http://people.centos.org/hughesjr/chromium/build/x86_64/Packages/

Thanks,
Johnny Hughes



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Hi again problem with minimal CentOS and Github

2014-10-12 Thread Mihamina Rakotomandimby

On 10/11/2014 12:03 PM, Niki Kovacs wrote:

# git push
error: The requested URL returned error: 403 Forbidden while accessing 
https://github.com/kikinovak/centos/info/refs

fatal: HTTP request failed


As far as I understand, this error is server side because GItHub does 
not allow write operations over HTTP.


Can you please share your Git configs on the Slawk box?
I think your origin is ssh:// and not https://;

Cheers from Madagascar.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Hi again problem with minimal CentOS and Github

2014-10-11 Thread Niki Kovacs

Le 11/10/2014 11:03, Niki Kovacs a écrit :

# git push
error: The requested URL returned error: 403 Forbidden while accessing
https://github.com/kikinovak/centos/info/refs
fatal: HTTP request failed

Now I think there must be some missing component in my CentOS
installation, because my Slackware workstation in the same network can
push things just fine.


I'll answer this myself, since I just stumbled over the solution. It 
seems that the version of Git shipping with CentOS has a little problem 
with Github. The solution is to add the username to the URL like this:


# git remote set-url origin 
https://kikino...@github.com/kikinovak/centos.git


Cheers,

Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos