gitconfig 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. [cola]
  2. spellcheck = false
  3. browserdockable = true
  4. refreshonfocus = true
  5. savewindowssettings = true
  6. theme = dark
  7. startupmode = folder
  8. [gui]
  9. historybrowser = \"/usr/bin/git-cola\" dag
  10. [guitool "Git Flow: Start git flow repo"]
  11. cmd = "git checkout master && git pull && git checkout develop && git pull && git flow init -d --feature 'feature/' --hotfix 'hotfix/' --release 'release/'"
  12. prompt = "Start git flow repo"
  13. shortcut = "Ctrl+I"
  14. [guitool "Git Flow: Start git flow repo with unstaged files"]
  15. cmd = " git stash && git flow init -f -d --feature 'feature/' --hotfix 'hotfix/' --release 'release/' && git stash pop"
  16. prompt = "Start git flow repo"
  17. shortcut = "Ctrl+Alt+I"
  18. [guitool "Git Flow: Start Feature"]
  19. cmd = "git checkout master && git pull && git checkout develop && git pull && git flow feature start $ARGS && git push --set-upstream origin feature/$ARGS"
  20. prompt = "Start a feature"
  21. argprompt = "Name of the feature"
  22. shortcut = "Shift+F"
  23. [guitool "Git Flow: Finish Feature"]
  24. cmd = "git merge origin/develop && git flow feature finish $ARGS"
  25. prompt = "Finish a feature"
  26. argprompt = "Name of the feature"
  27. shortcut = "Ctrl+Alt+F"
  28. [guitool "Git Flow: Start Release"]
  29. cmd = "git checkout master && git pull && git checkout develop && git pull && git flow release start $ARGS && git push --set-upstream origin release/$ARGS"
  30. prompt = "Start a release"
  31. argprompt = "Name of the release"
  32. shortcut = "Shift+R"
  33. [guitool "Git Flow: Finish Release"]
  34. cmd = "git merge origin/develop && git flow release finish -m $ARGS $ARGS && echo 'PUSH DEVELOP AND MASTER CHANGES'"
  35. prompt = "Finish a release"
  36. argprompt = "Name of the release"
  37. shortcut = "Ctrl+Alt+R"
  38. [guitool "Git Flow: Start Hotfix"]
  39. cmd = "git checkout master && git pull && git checkout develop && git pull && git flow hotfix start $ARGS && git push --set-upstream origin hotfix/$ARGS"
  40. prompt = "Start a hotfix"
  41. argprompt = "Name of the hotfix"
  42. shortcut = "Shift+H"
  43. [guitool "Git Flow: Finish Hotfix"]
  44. cmd = "git flow hotfix finish -m $ARGS $ARGS && echo 'PUSH DEVELOP AND MASTER CHANGES'"
  45. prompt = "Finish a hotfix"
  46. argprompt = "Name of the hotfix"
  47. shortcut = "Ctrl+Alt+H"
  48. [guitool "Git Pull"]
  49. cmd = "git pull && git checkout master && git pull && git checkout develop && git pull && git pull --all"
  50. prompt = "Pull"
  51. shortcut = "Ctrl+Alt+P"
  52. [core]
  53. editor = nano
  54. [user]
  55. email = user@email.com
  56. name = username
  57. [gitflow]
  58. multi-hotfix = true
  59. [pull]
  60. rebase = true