Skip to content

Instantly share code, notes, and snippets.

View subhamproject's full-sized avatar

Subham Mandal subhamproject

  • Hyderabad
View GitHub Profile
@subhamproject
subhamproject / cke-branch-rewriter.sh
Created May 21, 2018 09:32 — forked from garryyao/cke-branch-rewriter.sh
BASH script used as GIT tree-filter to fix the coding style of all commits on the branch
#!/bin/sh
set -e
echo ""
# Copied from the git source code as the filter-branch map function is not exposed to scripts.
map()
{
# if it was not rewritten, take the original
if test -r "../map/$1"
then