Makefile 508 B

1234567891011121314151617181920212223242526
  1. .DEFAULT_GOAL := help
  2. commit:
  3. @read -p "Enter commit message:" msg; \
  4. git add . && git status && sleep 1 && git commit -m "$$msg"
  5. sync: pull push
  6. push:
  7. @git push origin master
  8. pull:
  9. @git pull --rebase origin master
  10. all: commit sync
  11. help:
  12. @clear
  13. @echo "Comenzi disponibile: "
  14. @echo " pull - ia ultimele modificare din repository"
  15. @echo " commit - adauga in repository modificarile"
  16. @echo " push - pune toate modificarile in repository"
  17. @echo " all - commit pull push"