Document GitLab skip CI magit flag

This commit is contained in:
Antoine Martin 2021-01-03 01:25:10 +01:00
parent f661b9c473
commit 2d0393a33a

View file

@ -39,6 +39,7 @@
- [[#export-backends][Export backends]] - [[#export-backends][Export backends]]
- [[#doom-specific][Doom specific]] - [[#doom-specific][Doom specific]]
- [[#magit][Magit]] - [[#magit][Magit]]
- [[#gitlab-ci-skip-flag][Gitlab CI skip flag]]
* Misc * Misc
@ -507,8 +508,15 @@ one. Taken from [[https://github.com/hlissner/doom-emacs/tree/develop/modules/la
* Magit * Magit
** Gitlab CI skip flag
This option tells GitLab to skip the CI run for this push, in case I know it's
not ready yet.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(after! magit (after! magit
(transient-append-suffix 'magit-push "-n" (transient-append-suffix 'magit-push "-n"
'(4 "-s" "Skip GitLab CI" "--push-option=ci.skip"))) '(4 "-s" "Skip GitLab CI" "--push-option=ci.skip")))
#+END_SRC #+END_SRC
GitLab push options are documented [[https://docs.gitlab.com/ee/user/project/push_options.html][here]].