Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
rm -rf ~/temp/git/tari
mkdir ~/temp/git
cd ~/temp/git
git clone https://github.com/tari-project/tari.git
git checkout development
cd tari
NOW=$(date +"%Y-%m-%d")
COMMIT=$(git log --pretty=format:'%h' -n 1)
OUTDIR=~/build/nightly/$NOW-$COMMIT
@stringhandler
stringhandler / gitlog.zsh
Created October 28, 2020 14:20 — forked from delta1/gitlog.zsh
formatted merge commits since the previous tag
git log --pretty=format:"%s" $(git describe --tags --abbrev=0 \@\^)..\@ | sed '/Merge #/!d' | sed 's/Merge #//' | sed 's/://' | sed -E 's/[0-9]+/[#&](https:\/\/github.com\/tari-project\/tari\/pull\/&)/' | sed 's/.*/- &/g'