projects
/
git-repl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5ce2ec
)
Added config management commands
author
Saba Saba
<saba@sabadev.xyz>
Thu, 9 Feb 2023 17:26:17 +0000
(12:26 -0500)
committer
Saba Saba
<saba@sabadev.xyz>
Thu, 9 Feb 2023 17:26:17 +0000
(12:26 -0500)
git-repl.cl
patch
|
blob
|
history
diff --git
a/git-repl.cl
b/git-repl.cl
index
8517012
..
ae263ef
100644
(file)
--- a/
git-repl.cl
+++ b/
git-repl.cl
@@
-46,6
+46,22
@@
(defun no-skip-all ()
(mapcar #'no-skip-file (skipped-files)))
+(defun save-stash ()
+ (git "stash"))
+
+(defun pop-stash ()
+ (git "stash" "pop"))
+
+(defun stash-config ()
+ (progn
+ (no-skip-all)
+ (save-stash)))
+
+(defun pop-config ()
+ (progn
+ (pop-stash)
+ (skip-modified)))
+
(defun delete-branch (branch-name)
(git "branch" "-d" branch-name))