11 lines
185 B
Fish
11 lines
185 B
Fish
|
#!/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
|