Makefile 485 B

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