11 lines
172 B
Bash
Executable file
11 lines
172 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
main() {
|
|
git add -A
|
|
GIT_AUTHOR_NAME="$1" GIT_AUTHOR_EMAIL="$2" git commit --signoff --author="$1 <$2>"
|
|
git push -u origin main
|
|
}
|
|
|
|
main "$@"
|