Pushing Gist changes back up to Github

So this has kind of caught me a few times and thought I might stick it here as a future note to self.

When attempting to push to a Gist using SSH authentication, the remote host needs to be in the format that support SSH.

e.g; [email protected]:xxxxxxxxx.git

Command to check:

git remote v

If the remote host is a different format:

git remote remove {remote_name}
git remote add {remote_name} [email protected]:xxxxxxxxxx.git

THEN you should be able to push your Gist.

Need a website? Let's talk.

From website design & SEO through to custom WordPress plugin development. I transform ideas into dynamic, engaging, and high-performing solutions.
Subscribe to get the latest insights & updates in the world of web and how it impacts your business and website.
© 2024 Phil Kurth  |  All rights reserved.