11 lines
185 B
Fish
Executable file
11 lines
185 B
Fish
Executable file
#!/usr/bin/env fish
|
|
|
|
git add -A
|
|
git status
|
|
read -s --prompt "echo 'Continue committing and pushing? [y/N] '" yn
|
|
if ! test $yn = "y"
|
|
echo "Cancelling..."
|
|
exit 1
|
|
end
|
|
git commit
|
|
git push |