Skip to content

Instantly share code, notes, and snippets.

@zhangyuan
Created July 13, 2015 05:02
Show Gist options
  • Select an option

  • Save zhangyuan/6cc89ed1c47591b8671e to your computer and use it in GitHub Desktop.

Select an option

Save zhangyuan/6cc89ed1c47591b8671e to your computer and use it in GitHub Desktop.
gitssh
#!/bin/bash
/usr/bin/ssh -i /path/to/identity.file "$@"
# Usage: GIT_SSH=~/bin/gitssh git fetch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment