DEV Community

Jesse Phillips
Jesse Phillips

Posted on

3 1

Using Git Emoji :construction:

In generally I have viewed the 🚧 emoji as one which shouldn't make its way into the mainline, fixup commits should be applied until it is not under construction.

I have recently identify a good use for this emoji that should be preserved in the mainline history. Copy-Paste.

In this situation I have to have a duplication of another section of code and while they are similar it makes sense that they ultimately would evolve without the desire to remain consistent.

Basically it would be a commit made after pasting in some code you found on stackoverflow.com, your commit message would have the url reference etc.

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Retry later