Thanks to visit codestin.com
Credit goes to gist.github.com

Skip to content

Instantly share code, notes, and snippets.

View m19v's full-sized avatar
:octocat:
coding

m19v m19v

:octocat:
coding
View GitHub Profile

Conventional Commit Messages

See how a minor change to your commit message style can make a difference. Examples

Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs

Commit Formats

Default

@m19v
m19v / set-pretty-git-log-alias.sh
Created January 9, 2023 22:27 — forked from niun/set-pretty-git-log-alias.sh
git log graph --oneline with date and author and colored ref names as alias
## One line per log entry with merge graph
## (--decorate is implicit for newer git versions?):
#git log --graph --oneline --decorate
## |
## Add --branches --remotes --tags --merges to see entries for all of the
## corresponding refs, not only commits (--all for all refs).
## Format output with --pretty=tformat:'<format>'
## Interesting placeholders for oneline <format>:
@m19v
m19v / config
Created November 6, 2022 21:54 — forked from pksunkara/config
Sample of git config file (Example .gitconfig) (Place them in $XDG_CONFIG_HOME/git)
[user]
name = Pavan Kumar Sunkara
email = [email protected]
username = pksunkara
[init]
defaultBranch = master
[core]
editor = nvim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager = delta
@m19v
m19v / jq-cheetsheet.md
Created October 12, 2022 14:13 — forked from olih/jq-cheetsheet.md
jq Cheet Sheet

Processing JSON using jq

jq is useful to slice, filter, map and transform structured json data.

Installing jq

On Mac OS

brew install jq