Replies: 4 comments 14 replies
-
https://github.com/torbiak/git-autofixup/ should do the job |
Beta Was this translation helpful? Give feedback.
-
I'm torn on the value of all of these functions. On one hand, they can be convenient, without even considering the value of preserving the commit tree (a lot of people have similar aliases). On the other hand, the larger the specialized ecosystem, the more disconnected people become from git and this starts to look like a different system than git (more like jj). |
Beta Was this translation helpful? Give feedback.
-
If we're voting for new commands, I would love to see some commands that allow more rebase-type actions directly on the command line, in-memory (if possble?) and without having to have the branch checked out. (Like how
Complaining about |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
git top
/git bottom
to traverse an entire series of commits. (Names need to be revised, since the ordering may be reverse of what's expected.)git next
/git prev
.-a
/--all
flag togit next
/git prev
#191git checkout
, operating on nodes on the smartlog graph. Could include fuzzy-filtering or EasyMotion-style commit selection.git move
as a replacement forgit rebase
, to move entire subtrees. Proposal:--dest
,--base
,--restack
, and--main
flags.git sync XXX
to rebase in-progress work onto main branch (orgit sync --all
, orgit sync --onto
).git stage
to interactively stage a commit. Should see whattig
does for this.git split
to split the current commit (or a provided commit) using repeatedgit stage
s. Splitting should not check out to a different commit, since it shouldn't affect the working copy.git absorb
(there's already an implementation ofgit absorb
out there, but it doesn't work unless you have a branch checked out). Absorbing should not check out to a different commit, since it shouldn't affect the working copy.git amend
to amend the current commit contents, but not its message. May automatically restack, or have an option to automatically restack?git reword
to amend the current commit message, but not its contents. Should be able to safely automatically restack, since it doesn't touch the working copy.git reword
command #179git uncommit
as a replacement forgit reset --soft HEAD^
, since the latter is unergonomic, and it doesn't hide the given commit from the smartlog. It may be desirable to unstage the previously-committed changes as well; I've never personally wanted to keep them staged after agit reset --soft HEAD^
.Beta Was this translation helpful? Give feedback.
All reactions