Skip to content

Instantly share code, notes, and snippets.

@coderkan
Created January 19, 2021 05:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coderkan/1936815eb6c50ad9c49e9fe8229d548c to your computer and use it in GitHub Desktop.
Save coderkan/1936815eb6c50ad9c49e9fe8229d548c to your computer and use it in GitHub Desktop.

Git Commit Template

type : Refactor the coupon UI (Also you can mention related issues like #171)
	# Type can be
	# feat (new feature)
	# fix (bug fix)
	# refactor (refactoring production code)
	# style (formatting, missing semi colons, etc; no code change)
	# docs (changes to documentation)
	# test (adding or refactoring tests; no production code change)
	# chore (updating grunt tasks etc; no production code change)

Reasons:
- Reason 1
- Reason 1
- 
More Details about issue and what you do.

...
...
...

Git Commit Sample

feat: Refactor the coupon UI refs #1335
 
Because:
- The old UI code is fairly slow
- There were a few unused dependencies
- The old UI has aged poorly

I thought it was necessary to remove some of the old coupon UI code.
Unfortunately, it has aged pretty poorly, and I think this refactor makes
the code much easier to support in the long-run. Primarily, this commit
improves the performance of the coupon component. It also removes some
unused dependencies.

These changes should resolve issue #1337.

This commit removed the left-pad dependency, so please stop using it!

Co-authored-by: randomuser <randomuser@example.com>

Don't Want To Like This Commit

fixxxx stuff
post
post
post
post
posts
mmm
posts
front maddy
Add chris oliver
add syntax
article
add git patch article
fix video
video
arty art art
Fix links
oops
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment