Add ssh config for git
This commit is contained in:
parent
24ae1d2c7c
commit
908af2cdc8
10
install.sh
10
install.sh
@ -19,5 +19,15 @@ cat << EOF > ~/.gitconfig
|
|||||||
excludesfile = ${HOME}/dotfiles/git/gitignore_global
|
excludesfile = ${HOME}/dotfiles/git/gitignore_global
|
||||||
EOF
|
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/
|
mkdir -p ~/.config/
|
||||||
ln -s ~/dotfiles/fish ~/.config/fish
|
ln -s ~/dotfiles/fish ~/.config/fish
|
||||||
|
Loading…
x
Reference in New Issue
Block a user