To create an anchor to a heading in github flavored markdown.
Add - characters between each word in the heading and wrap the value in parens (#some-markdown-heading)
so your link should look like so:
[create an anchor](#anchors-in-markdown)
<!-- | |
See JSFiddle: | |
http://jsfiddle.net/cowboy/6asBw/ | |
--> | |
<!-- unminified --> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> |
# Git visual log displays commit tree view with who did what when and in which branch | |
git config --global alias.vlog 'log --graph --date-order --date=relative --pretty=format:"%C(cyan)%h: %Cblue - %an - %Cgreen %C(cyan)%ar:%Creset%n%s%n" --color' |
[ | |
{ | |
"caption": "Save to CQ5", | |
"command": "cq5_save" | |
} | |
] |
# From the last release to the HEAD of master | |
# find all commits with a Jira key | |
$ git log <branch_A>..<branch_B> 2> /dev/null | grep -Eo "[A-Za-z]+-[0-9]+" | sort | uniq | |
# checkout the same branch across multiple repos | |
$ ls | xargs -P10 -I{} git -C {} checkout <branch_name> | |
# make an alias to run a git command across multiple repo, add to ~/.bashrc or ~/.zshrc | |
alias agit="ls | xargs -P10 -I{} git -C {}" |