Skip to content

Instantly share code, notes, and snippets.

@Veve2
Created May 10, 2016 07:41
Show Gist options
  • Save Veve2/deeaab7763535781c2022869e0cabe77 to your computer and use it in GitHub Desktop.
Save Veve2/deeaab7763535781c2022869e0cabe77 to your computer and use it in GitHub Desktop.
Exécuter des commandes git avec une clé ssh spécifique
ssh-agent bash -c 'ssh-add /home/myuser/.ssh/github.key; git pull [email protected]:MYPROJECT/myproject.git'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment