Skip to content

@johnhamelink /.zshrc
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Export git repositories in one command with ZSH
# Export git repositories in one command with ZSH
# Requires the git repo url and the desired folder to output the repo to
# Example: git-export https://github.com/toddmotto/html5blank.git html5blank
git-export() {
git clone --depth=1 "$@"
rm -rf "$2"/.git
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.