Skip to content

Instantly share code, notes, and snippets.

@ralcorta
Last active June 15, 2022 18:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ralcorta/3bdcb974bf13084bf37ba50c79b39d6f to your computer and use it in GitHub Desktop.
Save ralcorta/3bdcb974bf13084bf37ba50c79b39d6f to your computer and use it in GitHub Desktop.
Force push with ssh keys if deploy key is denied
# ERROR: Permission to user-group/project.git denied to deploy key
ssh-agent bash -c 'ssh-add ~/.ssh/ssh-private-key; git push'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment