fix
This commit is contained in:
parent
80a514d342
commit
9af66ff50f
1 changed files with 11 additions and 2 deletions
13
sgit
13
sgit
|
@ -2,9 +2,18 @@
|
|||
|
||||
set -ex
|
||||
|
||||
[ -n $"{1}" ] && git config --global user.email "${1}"
|
||||
if [[ "--help" == "${1}" ]]; then
|
||||
echo "bash ./sgit user.email commit"
|
||||
fi
|
||||
|
||||
if [[ -z "${2}" ]]; then
|
||||
echo "Bitte commit angeben!!!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
git config --global user.email "${1}"
|
||||
git add --all
|
||||
git commit --all -m fix
|
||||
git commit --all -m "${2}"
|
||||
git push
|
||||
git show
|
||||
git status
|
||||
|
|
Loading…
Reference in a new issue