Skip to content

Commit c07c320

Browse files
committed
docs: instruct account swapping
1 parent 5087333 commit c07c320

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

machines/tim/programs/gh/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# gh
2+
3+
swapping accounts in certain projects takes commands:
4+
5+
```sh
6+
$ git config user.name "@zimeg"
7+
$ git config user.email "zim@o526.net"
8+
$ git config user.signingKey "~/.ssh/accounts/zimeg"
9+
```

machines/tim/programs/gh/default.nix

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,6 @@
99
};
1010
};
1111
programs.git = {
12-
includes = [
13-
{
14-
condition = "hasconfig:remote.*.url:git@zimeg:*";
15-
contents = {
16-
user = {
17-
email = "zim@o526.net";
18-
name = "@zimeg";
19-
signingKey = "~/.ssh/accounts/zimeg";
20-
};
21-
};
22-
}
23-
];
2412
signing = {
2513
key = "~/.ssh/accounts/theorderingmachine";
2614
};

0 commit comments

Comments
 (0)