add git flow to emacs

Amolith created

Change summary

dot_config/doom/config.org.tmpl | 7 +++++++
dot_config/doom/packages.el     | 3 +++
2 files changed, 10 insertions(+)

Detailed changes

dot_config/doom/config.org.tmpl 🔗

@@ -326,6 +326,13 @@ about the time I spend in an editor
 (setq wakatime-cli-path "/usr/bin/wakatime")
 #+END_SRC
 
+** Magit
+
+Use git flow in magit status buffers
+#+BEGIN_SRC emacs-lisp
+(add-hook 'magit-mode-hook 'turn-on-magit-gitflow)
+#+END_SRC
+
 * Custom bindings
 Following established Doom conventions, bind ~SPC g p~ to
 ~magit-push-current-to-upstream~

dot_config/doom/packages.el 🔗

@@ -44,6 +44,9 @@
 (package! copilot
   :recipe (:host github :repo "zerolfx/copilot.el" :files ("*.el" "dist")))
 
+(package! magit-gitflow
+  :recipe (:host github :repo "jtatarik/magit-gitflow"))
+
 ;; If the package you are trying to install does not contain a PACKAGENAME.el
 ;; file, or is located in a subdirectory of the repo, you'll need to specify
 ;; `:files' in the `:recipe':