Skip to content

Commit

Permalink
feat(git): config for additonnal Github account
Browse files Browse the repository at this point in the history
  • Loading branch information
nweldev committed Aug 16, 2023
1 parent 68723ff commit ae3822f
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions git/.gitconfig
Original file line number Diff line number Diff line change
@@ -1,8 +1,30 @@
[user]
# Please adapt and uncomment the following lines:
name = Nwel
email = nweldev@users.noreply.github.com


# Additionnal profiles for specific directories

[includeIf "gitdir:~/git/pro/"]
## The following file should look something like this:
#
# [user]
# email = <github-account>@users.noreply.github.com
# name = "<Pseudo>"
#
# [github]
# user = "<github-account>"
#
# [core]
# sshCommand = "ssh -i ~/.ssh/id_<id>"

path = ~/git/pro/.gitconfig.pro

## Don't forget to also add the ssh key to .ssh/config:
#
# Host <id>-github
# HostName github.com
# IdentityFile ~/.ssh/id_<id>

[log]
date = iso

Expand Down

0 comments on commit ae3822f

Please sign in to comment.