commit 1be2c3ac65eaf61a1bd53fe31e21d8e9598d692f
parent 1b4b1b950f6fffc6b5ea4a3ead469ba30fda625d
Author: pyratebeard <root@pyratebeard.net>
Date: Mon, 17 Dec 2018 17:55:26 +0000
set username for single repo
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/coding/git.md b/coding/git.md
@@ -10,6 +10,11 @@ roll back hard
git reset --hard <commit/tag>
```
+set username for [single repo][]
+```
+git config user.username 'name'
+```
+
[making a pull request][]
[branching and rebasing][]
@@ -19,3 +24,4 @@ git reset --hard <commit/tag>
[making a pull request]: https://www.atlassian.com/git/tutorials/making-a-pull-request
[branching and rebasing]: https://git-scm.com/book/en/v2/Git-Branching-Rebasing
[branching model]: https://nvie.com/posts/a-successful-git-branching-model/
+[single repo]: https://help.github.com/articles/setting-your-username-in-git/