Tag: git
-
Useful one-liner for building template git comment
Goes like this:git status | grep modified: | awk ‘BEGIN {FS=”[ \t]+modified:[ \t]+”;print “Change summary\n”;} {print “* ” $2 “\t\n”;}’ Sample output: Change summary * include/Application.hpp * include/fengine.hpp * nginx.sh * samples/if.ftx * src/fEngine/compiling/Compiler.cpp * src/fEngine/compiling/Compiling.cpp * src/fEngine/f/Alt.cpp * src/fEngine/f/BuiltInTag.cpp * src/fEngine/f/Case.cpp * src/fEngine/f/CodeGenerator.cpp * src/fEngine/f/Default.cpp * src/fEngine/f/ElIf.cpp * src/fEngine/f/Else.cpp * src/fEngine/f/Footer.cpp * src/fEngine/f/Foreach.cpp *…