sample: zhao's Remove enhanced NFC feature commit.
function zhao () {
git add --all
device=$(pwd | sed "s/.*_//g")
echo -e "$device: Remove enhanced NFC feature\n\nThis is no longer used anywhere.\n\nChange-Id: Iaabfaec2d7c734b5f286f3dc4ef651d93b2f2bc8" > .git/COMMIT_EDITMSG
git commit --author="Zhao Wei Liew <[email protected]>" -F .git/COMMIT_EDITMSG
};
oneline:
function zhao () { git add --all; device=$(pwd | sed "s/.*_//g"); echo -e "$device: Remove enhanced NFC feature\n\nThis is no longer used anywhere.\n\nChange-Id: Iaabfaec2d7c734b5f286f3dc4ef651d93b2f2bc8" > .git/COMMIT_EDITMSG ; git commit --author="Zhao Wei Liew <[email protected]>" -F .git/COMMIT_EDITMSG; };