Skip to content

Instantly share code, notes, and snippets.

View 7kfpun's full-sized avatar
🦊

kf 7kfpun

🦊
View GitHub Profile
@7kfpun
7kfpun / gist:5eb68a574e4d830047e5
Last active August 29, 2015 14:16
Rename committer
git filter-branch --commit-filter '
if [ "$GIT_AUTHOR_EMAIL" = GIT_AUTHOR_EMAIL ];
then
GIT_AUTHOR_NAME="kf";
GIT_COMMITTER_NAME="kf";
GIT_AUTHOR_EMAIL="7kfpun@gmail.com";
GIT_COMMITTER_EMAIL="7kfpun@gmail.com";
git commit-tree "$@";
else
git commit-tree "$@";
@7kfpun
7kfpun / gist:147b4ec69073ccab72f4
Created January 21, 2015 05:41
Git - Pushing code to multi remotes
git remote set-url --add --push origin git://one/repo.git
git remote set-url --add --push origin git://another_one/repo.git