Skip to content

Instantly share code, notes, and snippets.

@parthaa
Created February 9, 2016 00:56
Show Gist options
  • Save parthaa/782c6915218df571dca2 to your computer and use it in GitHub Desktop.
Save parthaa/782c6915218df571dca2 to your computer and use it in GitHub Desktop.
script to check out my fork
#!/bin/bash
current_dir=${PWD##*/}
remote_fork="git@github.com:parthaa/puppet-${current_dir}.git"
git remote add fork $remote_fork
git fetch fork
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment