Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save andremleblanc/debb44c6347feb14780e089ceabd0466 to your computer and use it in GitHub Desktop.
Save andremleblanc/debb44c6347feb14780e089ceabd0466 to your computer and use it in GitHub Desktop.
git clone with author information
function gclone() {
git clone $1
repo=$(basename $1)
directory=${repo%.*}
cd $directory
git config user.email "[email protected]"
git config user.name "First Last"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment