Skip to content

Instantly share code, notes, and snippets.

@codl
Last active September 24, 2016 08:17
Show Gist options
  • Select an option

  • Save codl/d8fb1a33b4d6837accbc3a98605f42c8 to your computer and use it in GitHub Desktop.

Select an option

Save codl/d8fb1a33b4d6837accbc3a98605f42c8 to your computer and use it in GitHub Desktop.
$ git im codl
you're codl
$ git init demo
$ cd demo
$ git commit --allow-empty -m "test"
$ git log -1
commit 02e55035e152b410790d590f78c429a8c183c19d
Author: codl <codl@codl.fr>
Date:   Sat Sep 24 10:15:31 2016 +0200

    test
#!/bin/bash
if [[ $1 == "codl" ]]
then
git config user.name codl
git config user.email codl@codl.fr
echo "you're codl"
else
echo "who?"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment