-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgit-setup.sh
More file actions
executable file
·35 lines (29 loc) · 1.26 KB
/
git-setup.sh
File metadata and controls
executable file
·35 lines (29 loc) · 1.26 KB
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
29
30
31
32
33
34
35
#!/bin/bash
#
#################################################################################
# #
# #
# Opis : Skrypt do ustawiania git'a #
# : #
# Author : Maciej Młocek (thx to Eric Dubois from Arcolinux) #
# #
# #
#################################################################################
#setting up git
#https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-config
git config --global pull.rebase false
git config --global push.default simple
git config --global user.name "elkrien"
git config --global user.email "elkrien@gmail.com"
sudo git config --system core.editor micro
git config --global credential.helper cache
git config --global credential.helper 'cache --timeout=32000'
echo "###########################################################"
echo " Github credentials zostały ustawione"
echo " Wykasuj folder ~/.cache/git jeśli się pomyliłeś"
echo " lub chcesz się przełączyć na inny github"
echo "###########################################################"
echo
echo "################################################################"
echo "#################### K O N I E C #########################"
echo "################################################################"