Command Line thinks i'm a different user

I am trying to push a 10GB change which is apparently too big for Github to push at once so apparently there’s a command line for segmenting the push. I tried to use it but command line is behaving like i’m in a different account despite me being logged in on this account on both Github.com and Github desktop.
How do I change what account i’m logged in on in command line?

image

Hi @geymin, welcome to the community! You can work with all repositories on GitHub over SSH, although firewalls and proxys might refuse to allow SSH connections. Using SSH requires you to generate an SSH public/private keypair on your local machine and add the public key to your GitHub account. Every time you use Git to authenticate with GitHub, you’ll be prompted to enter your SSH key passphrase, unless you’ve stored the key. For more information, see "Generating a new SSH key and adding it to the ssh-agent.

I hope this helps

Thank you, I didn’t have an SSH key on my current account but the problem i’m having is command line thinks i’m in an old account. Adding a key to my current account didn’t change what account Command Line thinks i’m logged in on.

Alright, I fixed it by deleting all my github credentials from the credentials manager and logging back in.

I don’t see why the 2GB chunk command can’t just automatically happen if the push is too big on github desktop?

1 Like