Skip to content

Instantly share code, notes, and snippets.

@thavrythul

thavrythul/svp Secret

Last active Jul 23, 2022
Embed
What would you like to do?
svp (){
# asking for commit messages
echo "Give your commit message?"
read msg
# pull to update from the main branch first
git pull origin main
# commit and push
git add .
git commit -m "$msg"
git push
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment