-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explain how identity matching works in README
- Loading branch information
Showing
1 changed file
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,10 +39,15 @@ karn looks for a YAML configuration file in your home directory, `~/.karn.yml`. | |
A sample configuration looks like this: | ||
``` | ||
--- | ||
/Fun: | ||
~/Fun: | ||
name: Adnan Abdulhussein | ||
email: [email protected] | ||
/Projects: | ||
~/Fun/karn: | ||
name: Sisterhood of Karn | ||
email: [email protected] | ||
/Work: | ||
name: Adnan A | ||
email: [email protected] | ||
``` | ||
|
||
In a given repo, karn will try to match with the deepest configured directory. For the configuration above, any repo under the `~/Fun` directory will match the first identity, with the exception of `~/Fun/karn` which matches the second identity. If an identity isn't found, the repo is left untouched. |