;ELC   
;;; Compiled
;;; in Emacs version 29.3
;;; with all optimizations.



(require 'magit)
(defalias 'magit-reset #[0 "\300\301!\207" [transient-setup magit-reset] 2 nil nil])
(byte-code "\300\301\302\303#\210\300\301\304\305#\210\300\301\306\307\310\301\311\312$#\210\313\301\314\315\316\314\317\320\321D\322\323\324\320\325\310\326\257\322\323\327\320\330\310\331\257D#\314\317\320\332D\322\323\333\320\334\310\335\257\322\323\336\320\337\310\340\257\322\323\341\320\342\310\343\257\322\323\344\320\345\310\346\257\322\323\347\320\350\310\351\257\322\323\352\320\353\310\354\257\257#D#C\"\207" [put magit-reset interactive-only t function-documentation "Reset the `HEAD', index and/or worktree to a previous state." transient--prefix transient-prefix :command :man-page "git-reset" transient--set-layout vector transient-columns nil transient-column :description "Reset" transient-suffix :key "b" "branch" magit-branch-reset "f" "file" magit-file-checkout "Reset this" "m" "mixed    (HEAD and index)" magit-reset-mixed "s" "soft     (HEAD only)" magit-reset-soft "h" "hard     (HEAD, index and worktree)" magit-reset-hard "k" "keep     (HEAD and index, keeping uncommitted)" magit-reset-keep "i" "index    (only)" magit-reset-index "w" "worktree (only)" magit-reset-worktree] 21)#@106 Reset the `HEAD' and index to COMMIT, but not the working tree.

(git reset --mixed COMMIT)

(fn COMMIT)
(defalias 'magit-reset-mixed #[257 "\300\301\"\207" [magit-reset-internal "--mixed"] 4 (#$ . 1301) (byte-code "\300\301!C\207" [magit-reset-read-branch-or-commit "Reset %s to"] 2)])#@105 Reset the `HEAD' to COMMIT, but not the index and working tree.

(git reset --soft COMMIT)

(fn COMMIT)
(defalias 'magit-reset-soft #[257 "\300\301\"\207" [magit-reset-internal "--soft"] 4 (#$ . 1595) (byte-code "\300\301!C\207" [magit-reset-read-branch-or-commit "Soft reset %s to"] 2)])#@94 Reset the `HEAD', index, and working tree to COMMIT.

(git reset --hard COMMIT)

(fn COMMIT)
(defalias 'magit-reset-hard #[257 "\300\301\"\207" [magit-reset-internal "--hard"] 4 (#$ . 1890) (byte-code "\300\301\302\303\"\304P!C\207" [magit-reset-read-branch-or-commit magit--propertize-face "Hard" bold " reset %s to"] 4)])#@114 Reset the `HEAD' and index to COMMIT, while keeping uncommitted changes.

(git reset --keep COMMIT)

(fn COMMIT)
(defalias 'magit-reset-keep #[257 "\300\301\"\207" [magit-reset-internal "--keep"] 4 (#$ . 2221) (byte-code "\300\301!C\207" [magit-reset-read-branch-or-commit "Reset %s to"] 2)])#@174 Reset the index to COMMIT.
Keep the `HEAD' and working tree as-is, so if COMMIT refers to the
head this effectively unstages all changes.

(git reset COMMIT .)

(fn COMMIT)
(defalias 'magit-reset-index #[257 "\300\301\302#\207" [magit-reset-internal nil "."] 5 (#$ . 2521) (byte-code "\300\301!C\207" [magit-read-branch-or-commit "Reset index to"] 2)])#@77 Reset the worktree to COMMIT.
Keep the `HEAD' and index as-is.

(fn COMMIT)
(defalias 'magit-reset-worktree #[257 "\303\304\305\"\210\304\306\307\310\311\312 \"!!\313\314\"\216\315 \205& \316\317\304\320P$?\211\203/ \321\322\"\210\210\323\n!\324\325\"\210\326\327\330\331#,\266\332\304\305\"\210\333 \207" [magit--refresh-cache default-directory process-environment magit-run-before-change-functions nil "reset" magit-convert-filename-for-git make-temp-name expand-file-name "index.magit." magit-gitdir make-closure #[0 "\3021 \303\304	!\300P!0\207\210\305\207" [V0 default-directory (error) delete-file file-remote-p nil] 3] magit--toplevel-safe magit-git-success "read-tree" "--index-output=" error "Cannot read tree %s" copy-sequence setenv "GIT_INDEX_FILE" magit-call-git "checkout-index" "--all" "--force" magit-run-after-apply-functions magit-refresh] 9 (#$ . 2880) (byte-code "\300\301!C\207" [magit-read-branch-or-commit "Reset worktree to"] 2)])#@196 Reset the `HEAD' and index to COMMIT, and possibly the working tree.
With a prefix argument reset the working tree otherwise don't.

(git reset --mixed|--hard COMMIT)

(fn COMMIT &optional HARD)
(defalias 'magit-reset-quickly #[513 "\300\203	 \301\202\n \302\"\207" [magit-reset-internal "--hard" "--mixed"] 5 (#$ . 3853) (byte-code "\301\203 \302\303\304\"\305P\202 \306!D\207" [current-prefix-arg magit-reset-read-branch-or-commit magit--propertize-face "Hard" bold " reset %s to" "Reset %s to"] 4)])#@172 Prompt for and return a ref to reset HEAD to.

PROMPT is a format string, where either the current branch name
or "detached head" will be substituted for %s.

(fn PROMPT)
(defalias 'magit-reset-read-branch-or-commit #[257 "\300\301\302 \206	 \303\"!\207" [magit-read-branch-or-commit format magit-get-current-branch "detached head"] 5 (#$ . 4368)])#@34 

(fn ARG COMMIT &optional PATH)
(defalias 'magit-reset-internal #[770 "\301\235\2043 \302!\302\303!\232\2033 \304\305\306\"r\211q\210\307\310\"\216\311\312\313\314\315$\210\203+  \210\316 \210\317 *\266\315\232\203A \204A \320\202B \321\322\323\"\210\324\321\325%\210\211\320\232\205Z \326\323\320\"\207" [git-commit-major-mode ("--hard" nil) magit-rev-parse "HEAD~" generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205	 \302\300!\207" [V0 buffer-name kill-buffer] 2] magit-git-insert "show" "-s" "--format=%B" "HEAD" git-commit-setup-font-lock git-commit-save-message "unstage" "reset" magit-run-before-change-functions nil magit-run-git "--" magit-run-after-apply-functions] 10 (#$ . 4723)])
(provide 'magit-reset)
