Skip to content

Instantly share code, notes, and snippets.

View griffiti's full-sized avatar

Jonathan Griffin griffiti

View GitHub Profile
@griffiti
griffiti / svn-log-commits-by-author
Last active September 15, 2016 15:01
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
griffiti / reset-author-last-commit-github
Last active October 7, 2015 19:37
Reset author for last commit already pushed to Github
git commit --amend --reset-author --no-edit
git push -f
@griffiti
griffiti / 0_reuse_code.js
Last active August 27, 2015 16:25
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console