Created
February 9, 2016 00:56
-
-
Save parthaa/782c6915218df571dca2 to your computer and use it in GitHub Desktop.
script to check out my fork
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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