Skip to content

Instantly share code, notes, and snippets.

@AsyncWizard
AsyncWizard / squash.md
Created February 2, 2022 11:07 — forked from desaiuditd/squash.md
Squash multiple commits related to single issue in a PR

The workflow says that the master branch of a project is the golden branch from which all development is based off of.

In order to keep this easy to navigate, it is asked that you squash your commits down to a few, or one, discreet changesets before submitting a pull request. Fixing a bug will usually only need one commit, while a larger feature might contain a couple of separate improvements that is easier to track through different commits.

Once you have rebased your work on top of the latest state of the upstream master, you may have several commits related to the issue you were working on. Once everything is done, squash them into a single commit with a descriptive message, like "Issue #100: Retweet bugfix."

@AsyncWizard
AsyncWizard / README.md
Last active March 23, 2022 17:33
Docker docker-compose debian install script
@AsyncWizard
AsyncWizard / trello-md-code-highlight.js
Last active January 5, 2024 11:12
Trello markdown code syntax highlight.
// ==UserScript==
// @name Trello Syntax Highlight
// @namespace https://gist.github.com/AsyncWizard
// @version 0.1
// @description try to take over the world!
// @author AsyncWizard
// @require https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.11.0/highlight.min.js
// @resource https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.11.0/styles/github.min.css
// @match https://trello.com/*
// @grant none