Skip to content

Instantly share code, notes, and snippets.

{
"meta": {
"theme": "stackoverflow"
},
"basics": {
"name": "Leo Jweda",
"label": "Senior Software Developer",
"image": "https://leojweda.com/assets/images/leo-jweda.png",
"url": "https://leojweda.com",
"location": {
@leojweda
leojweda / revert_commits.sh
Last active August 20, 2017 22:34
A shell script that searches for all commits with a particular commit message and revert those commits.
#! /bin/sh
git log --pretty=oneline --grep="$1" | awk '{print $1}' | xargs git revert