Jump to content

Use not GitHub desktop with corporate GitHub

My corporation is switching to GitHub from bitbucket. 

For some reason I can only log into GitHub repositories with GitHub desktop. 

 

GitHub desktop doesn't let you fetch or pull without pushing in certain situations and sometimes I need the data without pushing my potentially incorrect/project breaking changes. 

 

Has someone found a way to use literally any other git client with a corporate secured GitHub? 

Literally anything. Command line, fork, source tree, kraken.... Literally anything

Link to post
Share on other sites

30 minutes ago, shadow_ray said:

???

I cannot get any git client to work with GitHub. 

 

How do I get any git client to work with GitHub? 

 

Something with the login isn't being accepted. 

It's for my corporate account so it's not a regular public GitHub repository. 

 

I'm curious if anyone else working a private company repo has gotten another git client to work

Link to post
Share on other sites

You need to generate a token from the account settings menu and than put that into github gui or a system keystore for CLI. Github doesn't allow authentication with account credentials anymore just like how bitbucket has app passwords

CPU: Intel i7 - 5820k @ 4.5GHz, Cooler: Corsair H80i, Motherboard: MSI X99S Gaming 7, RAM: Corsair Vengeance LPX 32GB DDR4 2666MHz CL16,

GPU: ASUS GTX 980 Strix, Case: Corsair 900D, PSU: Corsair AX860i 860W, Keyboard: Logitech G19, Mouse: Corsair M95, Storage: Intel 730 Series 480GB SSD, WD 1.5TB Black

Display: BenQ XL2730Z 2560x1440 144Hz

Link to post
Share on other sites

1 hour ago, trag1c said:

You need to generate a token from the account settings menu and than put that into github gui or a system keystore for CLI. Github doesn't allow authentication with account credentials anymore just like how bitbucket has app passwords

I'll give that a shot next week. Made a note of your suggestion. 

 

Thanks!!

Link to post
Share on other sites

Just use ssh and add the git repo to your ssh config. If your repo changes, just add your ssh public key to the new repo. Github password authentication had phrased out years ago. Gui is a huge pain btw. You should get familiar with the git cli. 

Sudo make me a sandwich 

Link to post
Share on other sites

On 1/6/2023 at 8:33 PM, fpo said:

How do I get any git client to work with GitHub?

You would normally create an SSH key, then upload the public key to (User) > Settings > SSH and GPG keys on GitHub. I haven't use corporate GitHub, but I would hope it works the same. On your machine you'd then either use git on the command line or configure the Git Client to use said SSH key for authentication.

 

GitHub has a fair bit of documentation for this: https://docs.github.com/en/authentication/connecting-to-github-with-ssh

Remember to either quote or @mention others, so they are notified of your reply

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×