coding/git.md
... ...
@@ -10,6 +10,11 @@ roll back hard
10 10
git reset --hard <commit/tag>
11 11
```
12 12
13
+set username for [single repo][]
14
+```
15
+git config user.username 'name'
16
+```
17
+
13 18
[making a pull request][]
14 19
15 20
[branching and rebasing][]
... ...
@@ -19,3 +24,4 @@ git reset --hard <commit/tag>
19 24
[making a pull request]: https://www.atlassian.com/git/tutorials/making-a-pull-request
20 25
[branching and rebasing]: https://git-scm.com/book/en/v2/Git-Branching-Rebasing
21 26
[branching model]: https://nvie.com/posts/a-successful-git-branching-model/
27
+[single repo]: https://help.github.com/articles/setting-your-username-in-git/