I want to use these bash function to push my local repo to two remote repos, but I'm not sure if this will work.
p_foo_0() {
  git add -A .
  git commit -m "test"
  git push origin master
  echo "success"
}
p_foo_1() {
  git add -A .
  git commit -m "test"
  git push heroku master
  echo "success"
}
 
     
    