Skip to content

Instantly share code, notes, and snippets.


Jonathan Griffin griffiti

View GitHub Profile
griffiti / svn-log-commits-by-author
Last active Sep 15, 2016
SVN log commits by author
View svn-log-commits-by-author
svn log --xml --stop-on-copy [URL] | grep '<author>' | sed -e 's/<author>\([^<]*\)<\/author>/\1/' | sort | uniq -c
# Example output:
# 20 developer1
# 103 developer4
# 47 developer5
# 114 developer3
griffiti / reset-author-last-commit-github
Last active Oct 7, 2015
Reset author for last commit already pushed to Github
View reset-author-last-commit-github
git commit --amend --reset-author --no-edit
git push -f
griffiti / 0_reuse_code.js
Last active Aug 27, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console