Skip to content

Instantly share code, notes, and snippets.

@mateusjatenee
Created March 30, 2022 21:03
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mateusjatenee/530b05fe4fdea1f10566411ee09c5e67 to your computer and use it in GitHub Desktop.
Save mateusjatenee/530b05fe4fdea1f10566411ee09c5e67 to your computer and use it in GitHub Desktop.
function c {
git add --all
git commit -m $1
}
function p {
git add --all
git commit -m $1
branch=`git branch | grep "*"`
git push origin ${branch/* /}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment