forked from tmaros/Arch-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup-git-v1.sh
executable file
·28 lines (25 loc) · 1.19 KB
/
setup-git-v1.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
set -e
##################################################################################################################
# Author : Erik Dubois
# Website : https://www.erikdubois.be
# Website : https://www.archmerge.info
# Website : https://www.archmerge.com
# Website : https://www.archmerged.com
# Website : https://www.archmergeforum.com
##################################################################################################################
#
# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK.
#
##################################################################################################################
# change into your name and email.
git init
git config --global user.name "Timotej Marosevic"
git config --global user.email "timotej.marosevic@gmail.com"
sudo git config --system core.editor nano
git config --global credential.helper cache
git config --global credential.helper 'cache --timeout=25000'
git config --global push.default simple
echo "################################################################"
echo "################### T H E E N D ######################"
echo "################################################################"