Skip to content

Instantly share code, notes, and snippets.

@liitfr
Last active September 22, 2023 19:18
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save liitfr/09997b0c15966eedaa21e77d55efab46 to your computer and use it in GitHub Desktop.
Save liitfr/09997b0c15966eedaa21e77d55efab46 to your computer and use it in GitHub Desktop.
unlock NP when stuck at "Pushing tags" step

If you want to push tag manually & identify problem

git push --follow-tags

Enable SSH

  1. Generate an SSH key

Open terminal to create ssh keys:

cd ~                 #Your home directory
ssh-keygen -t rsa    #Press enter for all values
  1. Associate the SSH key with the remote repository

In GitHub, go to settings and click 'add SSH key'. Copy the contents of your ~/.ssh/id_rsa.pub into the field labeled 'Key'.

  1. Set your remote URL to a form that supports SSH

make sure your repo URL is in the form : git+ssh://git@github.com/username/reponame.git
To see your repo URL, run: git remote show origin
You can change the URL with: git remote set-url origin git+ssh://git@github.com/username/reponame.git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment