$ 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
Last active
September 24, 2016 08:17
-
-
Save codl/d8fb1a33b4d6837accbc3a98605f42c8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
| 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