Add ssh config for git
This commit is contained in:
1 parent
24ae1d2c7c
commit
908af2cdc8
1 file changed
+10
+10
@@ -19,5 +19,15 @@ cat << EOF > ~/.gitconfig
|
||||
excludesfile = ${HOME}/dotfiles/git/gitignore_global
|
||||
EOF
|
||||
|
||||
mkdir -p ~/.ssh
|
||||
cat << EOF > ~/.ssh/config
|
||||
Host github.com
|
||||
User git
|
||||
Host gitea
|
||||
HostName git.torpet.thomasloven.com
|
||||
User git
|
||||
EOF
|
||||
chmod 644 ~/.ssh/config
|
||||
|
||||
mkdir -p ~/.config/
|
||||
ln -s ~/dotfiles/fish ~/.config/fish
|
||||
Reference in new issue
Block a user