Skip to content

Instantly share code, notes, and snippets.

@naumvd95
Created January 25, 2021 12:55
Show Gist options
  • Save naumvd95/54169051045ce016cea7bafac7f566ad to your computer and use it in GitHub Desktop.
Save naumvd95/54169051045ce016cea7bafac7f566ad to your computer and use it in GitHub Desktop.
git env var to manage ssh key path w/o changing git config
GIT_SSH_COMMAND='ssh -i ~/.ssh/test_key' git push --all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment