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.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
git top/git bottomto 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/--allflag togit next/git prev#191git checkout, operating on nodes on the smartlog graph. Could include fuzzy-filtering or EasyMotion-style commit selection.git moveas a replacement forgit rebase, to move entire subtrees. Proposal:--dest,--base,--restack, and--mainflags.git sync XXXto rebase in-progress work onto main branch (orgit sync --all, orgit sync --onto).git stageto interactively stage a commit. Should see whattigdoes for this.git splitto split the current commit (or a provided commit) using repeatedgit stages. 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 absorbout 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 amendto amend the current commit contents, but not its message. May automatically restack, or have an option to automatically restack?git rewordto 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 rewordcommand #179git uncommitas 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