Update setup_git.sh
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
echo "Get the github key and enter it." && sleep 2
|
echo "Get the github key and enter it." && sleep 2
|
||||||
nvim ~/.ssh/id_github && chmod 600 ~/.ssh/id_github
|
nano ~/.ssh/id_github && chmod 600 ~/.ssh/id_github
|
||||||
echo "alias sg=\"GIT_SSH_COMMAND='ssh -i ~/.ssh/id_github' git clone git@github.com:ascyii/dotfiles.git\"" >> ~/.bashrc
|
echo "alias sg=\"GIT_SSH_COMMAND='ssh -i ~/.ssh/id_github' git clone git@github.com:ascyii/dotfiles.git\"" >> ~/.bashrc
|
||||||
git config --global user.name "Jonas Hahn" && git config --global user.email "jonashahn1@gmx.net"
|
git config --global user.name "Jonas Hahn" && git config --global user.email "jonashahn1@gmx.net"
|
||||||
|
|||||||
Reference in New Issue
Block a user