Saturday, 16 March 2019

Important GIT Commands

For premium DevOps and AWS Courses: https://imojo.in/2cox7em
  1. AWS with the project 
  2. DevOps Real-Time 
  3. DevOps with the project 
  4. AWS Real-Time
  5. Linux Admin


               Important GIT Commands

  1. t pull   
  2. git branch development
  3. git checkout development
  4. git checkout -d development
  5. add new files
  6. git add .
  7. git commit -m "added new changes to new branch"
  8. git push origin development
  9. git checkout master
  10. git merge development
  11.  git push
  12. git checkout -b hotfix
  13. vi hostfix
  14. git status
  15. git add hostfix
  16. git commit -m "added hotfix"
  17. git push origin hotfix
  18. git checkout master
  19. git branch
  20. git branch -v
  21. git branch --merged
  22. git branch --no-merged
  23. git branch -d hotfix
  24. git merge hotfix
  25. git push origin master
  26. git branch -d hotfix
  27. git push origin --delete hotfix
  28. git tag
  29. git tag -v
  30. git tag -a v1.4 -m "my version 1.4"
  31. git show v1.4
  32. git push origin v1.4
  33. git checkout 2.0.0
  34. git checkout -b version2 v2.0.0
  35. git checkout destination_branch
  36. git merge tag_name