Skip to content

Commit

Permalink
let example hook set user & email at first commit
Browse files Browse the repository at this point in the history
Fixes Kozea#876
  • Loading branch information
mookie- authored Oct 13, 2018
1 parent 818c9e2 commit de74843
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@
#max_sync_token_age = 2592000

# Command that is run after changes to storage
# Example: ([ -d .git ] || git init) && git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s)
#
# The name and email will only get set at the first commit
# Example: ([ -d .git ] || git init) && ( git config -l | grep "user\.name" > /dev/null || git config user.name "Your Name" ) && ( git config -l | grep "user\.email" > /dev/null || git config user.email "[email protected]" ) && git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s)
#hook =


Expand Down

0 comments on commit de74843

Please sign in to comment.