mirror of
https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git
synced 2025-09-15 09:45:58 +03:00
refactored .gitconfig
This commit is contained in:
@@ -12,4 +12,4 @@ aliases:
|
||||
# The path to a unix socket through which send HTTP connections. If blank, HTTP traffic will be handled by net/http.DefaultTransport.
|
||||
http_unix_socket:
|
||||
# What web browser gh should use when opening URLs. If blank, will refer to environment.
|
||||
browser: qutebrowser
|
||||
browser: brave
|
||||
|
@@ -1,9 +1,11 @@
|
||||
[user]
|
||||
email = artem.shv@proton.me
|
||||
name = xnm
|
||||
[credential "https://github.com"]
|
||||
helper =
|
||||
helper = !/run/current-system/sw/bin/gh auth git-credential
|
||||
[credential "https://gist.github.com"]
|
||||
helper =
|
||||
helper = !/run/current-system/sw/bin/gh auth git-credential
|
||||
[includeIf "gitdir:~/projects/"]
|
||||
path = ~/projects/.gitconfig.personal
|
||||
|
||||
[includeIf "gitdir:~/work/"]
|
||||
path = ~/work/.gitconfig.work
|
||||
|
||||
[core]
|
||||
excludesfile = ~/.gitignore
|
||||
|
||||
[gpg]
|
||||
format = ssh
|
||||
|
17
home/.ssh/config
Normal file
17
home/.ssh/config
Normal file
@@ -0,0 +1,17 @@
|
||||
Host github.com-xnm1
|
||||
HostName github.com
|
||||
User git
|
||||
IdentityFile ~/.ssh/github
|
||||
AddKeysToAgent yes
|
||||
|
||||
Host github.com-artemplummy
|
||||
HostName github.com
|
||||
User git
|
||||
IdentityFile ~/.ssh/work
|
||||
AddKeysToAgent yes
|
||||
|
||||
Host bitbucket.org-artemplummy
|
||||
HostName bitbucket.org
|
||||
User git
|
||||
IdentityFile ~/.ssh/work
|
||||
AddKeysToAgent yes
|
10
home/projects/.gitconfig.personal
Normal file
10
home/projects/.gitconfig.personal
Normal file
@@ -0,0 +1,10 @@
|
||||
[user]
|
||||
email = artem.shv@proton.me
|
||||
name = xnm
|
||||
signingkey = ~/.ssh/github.pub
|
||||
|
||||
[github]
|
||||
user = "XNM1"
|
||||
|
||||
[core]
|
||||
sshCommand = "ssh -i ~/.ssh/github"
|
13
home/work/.gitconfig.work
Normal file
13
home/work/.gitconfig.work
Normal file
@@ -0,0 +1,13 @@
|
||||
[user]
|
||||
email = artem.shevchenko@plummygames.com
|
||||
name = artemplummy
|
||||
signingkey = ~/.ssh/work.pub
|
||||
|
||||
[github]
|
||||
user = "artemplummy"
|
||||
|
||||
[bitbucket]
|
||||
user = "artemplummy"
|
||||
|
||||
[core]
|
||||
sshCommand = "ssh -i ~/.ssh/work"
|
Reference in New Issue
Block a user