Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Help with TortoiseGit and GitHub
New Posts  All Forums:Forum Nav:

Help with TortoiseGit and GitHub

post #1 of 2
Thread Starter 
I downloaded TortiuseGit and installed it along with Git from git-sc.com, and uploaded the SSH key to my github account.

In my github account I have forked a project and what I want to be able to do is clone the original repository to my PC (which I did) so I have the most updated copy, and be able to make changes to that project, and then push them to the central repository so they can be accepted, or push them to my forked github version and then have that 'pull request' to the original to be updated there.

I have tried googling things but don't really understand what some are trying to say, when I try pushing my changes from my pc I get a
Quote:
git.exe push --progress "origin" master:master

error: The requested URL returned error: 403 while accessing **Original Project URL
fatal: HTTP request failed

git did not exit cleanly (exit code 128)

I have the 'remote' setup with my private key and the url is the https from the original project.

I'm not quite sure on how to get this to work, any help is appreciated.
OC Beast
(13 items)
 
  
CPUMotherboardGraphicsRAM
E8500 @4GHZ Gigabyte P45 4850x2 2GB IT LIVES! 4GB 
Hard DriveOptical DriveOSMonitor
500AAKS+250external CD-DVD combo windows 7 ultimate x64 26" 
KeyboardPowerCaseMouse
MC$ wireless 650w corsair antec 900 Logitech battlefield 2142 G5 
  hide details  
Reply
OC Beast
(13 items)
 
  
CPUMotherboardGraphicsRAM
E8500 @4GHZ Gigabyte P45 4850x2 2GB IT LIVES! 4GB 
Hard DriveOptical DriveOSMonitor
500AAKS+250external CD-DVD combo windows 7 ultimate x64 26" 
KeyboardPowerCaseMouse
MC$ wireless 650w corsair antec 900 Logitech battlefield 2142 G5 
  hide details  
Reply
post #2 of 2
Quote:
Originally Posted by ZTR1760 View Post

I downloaded TortiuseGit and installed it along with Git from git-sc.com, and uploaded the SSH key to my github account.

In my github account I have forked a project and what I want to be able to do is clone the original repository to my PC (which I did) so I have the most updated copy, and be able to make changes to that project, and then push them to the central repository so they can be accepted, or push them to my forked github version and then have that 'pull request' to the original to be updated there.

I have tried googling things but don't really understand what some are trying to say, when I try pushing my changes from my pc I get a


I have the 'remote' setup with my private key and the url is the https from the original project.

I'm not quite sure on how to get this to work, any help is appreciated.

HTTP Error code 403 is forbidden

I've never used git from anything other than a *nix command line, but from the looks of it you're trying to use SSH keys with a HTTPS push. That's why it isn't working. You need to clone via the SSH URL github provides, that'll setup your origin for you as an SSH URL which you should then be able to use your keys and authenticate with.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Help with TortoiseGit and GitHub