Remap Github Copilot Autocompletion
This commit is contained in:
parent
37808a6f6e
commit
76182ae8a0
2 changed files with 30 additions and 0 deletions
12
git_commit.sh
Executable file
12
git_commit.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash --login
|
||||
if [[ $1 != "" && $2 != "" && $3 != "" ]]; then
|
||||
# Default Strategy is to merge codebase
|
||||
git config pull.rebase false
|
||||
git config commit.gpgsign true
|
||||
git pull origin master
|
||||
git add . --all
|
||||
git commit -a -S --author="${1} <${2}>" -m "${3}"
|
||||
git push -u origin master
|
||||
else
|
||||
echo "USAGE: ${0} '<full name>' <email address> '<git commit comments>'"
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue