Timeline for How do I squash my last N commits together?
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 4, 2023 at 22:29 | history | edited | Benjamin Loison | CC BY-SA 4.0 |
Add Bash syntax highlighting
|
Dec 25, 2021 at 23:02 | comment | added | martian |
I prefer this command with GIT_SEQUENCE_EDITOR , for I need autostash
|
|
Aug 30, 2020 at 8:56 | comment | added | typesanitizer |
You could simplify this using gawk . git -c core.editor="gawk -i inplace '{if(NR>1 && \$1==\"pick\"){\$1=\"squash\"} print \$0}'" rebase -i --autosquash HEAD~5 .
|
|
May 23, 2017 at 11:47 | history | edited | URL Rewriter Bot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
Aug 16, 2011 at 6:22 | review | Suggested edits | |||
Aug 16, 2011 at 7:06 | |||||
Mar 4, 2011 at 21:04 | comment | added | Mark Longair | +1: that's fun and instructive, in that it's wasn't at all obvious to me that you can put anything more complex than the name of a program in the GIT_EDITOR environment variable. | |
Mar 4, 2011 at 16:23 | history | edited | Cascabel | CC BY-SA 2.5 |
added 113 characters in body
|
Mar 4, 2011 at 16:12 | history | answered | Cascabel | CC BY-SA 2.5 |