add git config
This commit is contained in:
parent
312e8dc9d1
commit
e2908d44ce
2 changed files with 2 additions and 1 deletions
|
@ -58,6 +58,7 @@ function gitclone() {
|
|||
git config --global user.name "user"
|
||||
git config --global push.default simple
|
||||
git config --global pull.rebase true
|
||||
git config --global merge.tool vimdiff
|
||||
git config --global --add safe.directory '*'
|
||||
|
||||
# Aktualisiere die Repositiories
|
||||
|
|
|
@ -4,7 +4,6 @@ set -ex
|
|||
|
||||
clear
|
||||
|
||||
git config --global credential.helper store
|
||||
arch=$(uname -m)
|
||||
branch=master
|
||||
repo=SpectreOS
|
||||
|
@ -83,6 +82,7 @@ function gitclone() {
|
|||
git config --global user.name "user"
|
||||
git config --global push.default simple
|
||||
git config --global pull.rebase true
|
||||
git config --global merge.tool vimdiff
|
||||
if [ -d "/opt/${repo}" ]; then
|
||||
echo "${repo} existiert bereits!!!"
|
||||
cd /opt/${repo}
|
||||
|
|
Loading…
Reference in a new issue