add gitconfig and ssh config
This commit is contained in:
parent
22050d75d7
commit
44e3b86c98
16
configs/gitconfig
Normal file
16
configs/gitconfig
Normal file
|
@ -0,0 +1,16 @@
|
|||
[user]
|
||||
name = Nils Norman Haukås
|
||||
email = mail@nilsnh.no
|
||||
[filter "lfs"]
|
||||
clean = git-lfs clean -- %f
|
||||
smudge = git-lfs smudge -- %f
|
||||
process = git-lfs filter-process
|
||||
required = true
|
||||
[pull]
|
||||
rebase = true
|
||||
[alias]
|
||||
clean-branches = "!git branch --merged | grep -v '\\*\\|master|main|develop|dev' | xargs -n1 -r git branch -d"
|
||||
wops1 = "!git reset --hard HEAD~1"
|
||||
wt = "worktree"
|
||||
[init]
|
||||
defaultBranch = main
|
14
configs/ssh-config
Executable file
14
configs/ssh-config
Executable file
|
@ -0,0 +1,14 @@
|
|||
Host bitbucket.org
|
||||
UseKeychain yes
|
||||
AddKeysToAgent yes
|
||||
HostName bitbucket.org
|
||||
User git
|
||||
IdentityFile ~/.ssh/id_rsa_v2
|
||||
|
||||
Host tv2
|
||||
IdentitiesOnly yes
|
||||
UseKeychain yes
|
||||
AddKeysToAgent yes
|
||||
HostName bitbucket.org
|
||||
User git
|
||||
IdentityFile ~/.ssh/id_tv2
|
|
@ -7,6 +7,8 @@
|
|||
~/.bashrc_local: .bashrc_local
|
||||
~/.config/nvim: nvim/
|
||||
/usr/local/bin/packup.sh: packup.sh
|
||||
~/.ssh/config: configs/ssh-config
|
||||
~/.gitconfig: configs/gitconfig
|
||||
- shell:
|
||||
-
|
||||
command: ./install-bashrc_local
|
||||
|
|
Loading…
Reference in a new issue