Skip to content

Instantly share code, notes, and snippets.

@sgput
sgput / interactive_rebase_example.md
Last active April 11, 2022 17:11
Interactive Rebase Example

Using Interactive Rebasing to Squash Multiple Commits into a Single Commit

This is an example of a specific scenarios using git's interactive rebase functionality. Please visit Git Rewriting History documentation for a more omprehensive overview of options when using interactive rebase (and other history-rewriting git tooling)

Step 1

Run git log --oneline to display a condensed list of all recent commits

Keybase proof

I hereby claim:

  • I am sgput on github.
  • I am sgput (https://keybase.io/sgput) on keybase.
  • I have a public key ASDShfBA-1zAgzyHW8sJ2ituzv14sTcniQwFb1rA2TdQhgo

To claim this, I am signing this object:

@sgput
sgput / Responsive CSS Devices Illustration.markdown
Created February 23, 2016 19:43
Responsive CSS Devices Illustration
@sgput
sgput / #codevember 02 Raindropping.markdown
Created February 23, 2016 19:42
#codevember 02 Raindropping
@sgput
sgput / Flexbox Calendar Layout.markdown
Created February 23, 2016 19:41
Flexbox Calendar Layout
@sgput
sgput / #codevember 01 Sunburst Flora.markdown
Created February 23, 2016 19:41
#codevember 01 Sunburst Flora

#codevember 01 Sunburst Flora

Playing with layering and symmetry using transform-origin. Also, it's been cloudy for days in Omaha so a little sunshine doesn't hurt!

A Pen by Spencer Putnam on CodePen.

License.