fix
This commit is contained in:
parent
d683082ac7
commit
9d74dfb77e
2 changed files with 4 additions and 1 deletions
0
SimpleHTTPServerWithUpload.py
Normal file → Executable file
0
SimpleHTTPServerWithUpload.py
Normal file → Executable file
5
sgit
5
sgit
|
@ -11,6 +11,9 @@ echo "Bitte email und commit angeben!!!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
push="${3}"
|
||||||
|
[[ -z "${push}" ]] && push="origin"
|
||||||
|
|
||||||
git config --global core.editor "nano"
|
git config --global core.editor "nano"
|
||||||
git config --global user.email "${1}"
|
git config --global user.email "${1}"
|
||||||
git config --global user.name "${1}"
|
git config --global user.name "${1}"
|
||||||
|
@ -20,5 +23,5 @@ git add --all
|
||||||
git commit --all -m "${2}"
|
git commit --all -m "${2}"
|
||||||
git pull
|
git pull
|
||||||
git show
|
git show
|
||||||
git push "${3}"
|
git push "${push}"
|
||||||
git status
|
git status
|
||||||
|
|
Loading…
Reference in a new issue