Skip to content

Instantly share code, notes, and snippets.

@giuliobosco
Created March 4, 2020 15:24
Show Gist options
  • Save giuliobosco/53b39998df52da80933f103defb86549 to your computer and use it in GitHub Desktop.
Save giuliobosco/53b39998df52da80933f103defb86549 to your computer and use it in GitHub Desktop.
#!/bin/zsh
# v0.1
d=`date +%Y%m%d`;
git branch ng_build_${d}
git checkout ng_build_${d}
ng build
git add .
git commit -m "save ng development ${d}"
git push --set-upstream origin ng_build_${d}
git checkout develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment