We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 494e832 commit adc476aCopy full SHA for adc476a
gitalias.txt
@@ -316,6 +316,9 @@
316
# This is a slightly modified version
317
fixup = "!f() { TARGET=$(git rev-parse \"$1\"); git commit --fixup=$TARGET && GIT_EDITOR=true git rebase --interactive --autosquash $TARGET~; }; f"
318
319
+ # Shorthand to stash/rebase/unstash
320
+ fix = !"f(){ git rebase --autostash -i \"${@:-HEAD^^}\";};f"
321
+
322
### reflog ###
323
324
# reflog - reference log that manages when tips of branches are updated.
0 commit comments