Update render script and Makefile
This commit is contained in:
@@ -8,13 +8,13 @@
|
||||
[38;5;12m [39m
|
||||
|
||||
|
||||
[38;5;12m [39m[38;2;255;187;0m[1m[4mAwesome Git Hooks[0m
|
||||
[38;5;12m [39m[38;2;255;187;0m[1m[4mAwesome Git Hooks[0m
|
||||
|
||||
[38;5;11m[1m▐[0m[38;5;12m [39m[38;5;12m:anchor: Easy-to-use git hooks for automating tasks during git workflows.[39m
|
||||
|
||||
[38;5;12mGit[39m[38;5;12m [39m[38;5;12mhooks[39m[38;5;12m [39m[38;5;12mare[39m[38;5;12m [39m[38;5;12mcustom[39m[38;5;12m [39m[38;5;12mscripts[39m[38;5;12m [39m[38;5;12myou[39m[38;5;12m [39m[38;5;12mcan[39m[38;5;12m [39m[38;5;12muse[39m[38;5;12m [39m[38;5;12mto[39m[38;5;12m [39m[38;5;12mautomate[39m[38;5;12m [39m[38;5;12mtasks[39m[38;5;12m [39m[38;5;12mwhich[39m[38;5;12m [39m[38;5;12mare[39m[38;5;12m [39m[38;5;12mtriggered[39m[38;5;12m [39m[38;5;12mbefore[39m[38;5;12m [39m[38;5;12mor[39m[38;5;12m [39m[38;5;12mafter[39m[38;5;12m [39m[38;5;12ma[39m[38;5;12m [39m[38;5;12mgit[39m[38;5;12m [39m[38;5;12mcommand[39m[38;5;12m [39m[38;5;12mis[39m[38;5;12m [39m[38;5;12mexecuted.[39m[38;5;12m [39m[38;5;12mThere[39m[38;5;12m [39m[38;5;12mare[39m[38;5;12m [39m[38;5;12mtwo[39m[38;5;12m [39m[38;5;12mgroups[39m[38;5;12m [39m[38;5;12mof[39m[38;5;12m [39m[38;5;12mthese[39m[38;5;12m [39m[38;5;12mhooks:[39m[38;5;12m [39m[38;5;12mclient-side[39m[38;5;12m [39m[38;5;12mand[39m[38;5;12m [39m[38;5;12mserver-side.[39m[38;5;12m [39m[38;5;12mClient-side[39m[38;5;12m [39m[38;5;12mhooks[39m[38;5;12m [39m[38;5;12mare[39m[38;5;12m [39m
|
||||
[38;5;12mtriggered[39m[38;5;12m [39m[38;5;12mby[39m[38;5;12m [39m[38;5;12moperations[39m[38;5;12m [39m[38;5;12msuch[39m[38;5;12m [39m[38;5;12mas[39m[38;5;12m [39m[38;5;12mcommitting[39m[38;5;12m [39m[38;5;12mand[39m[38;5;12m [39m[38;5;12mmerging,[39m[38;5;12m [39m[38;5;12mwhile[39m[38;5;12m [39m[38;5;12mserver-side[39m[38;5;12m [39m[38;5;12mhooks[39m[38;5;12m [39m[38;5;12mrun[39m[38;5;12m [39m[38;5;12mon[39m[38;5;12m [39m[38;5;12mnetwork[39m[38;5;12m [39m[38;5;12moperations[39m[38;5;12m [39m[38;5;12msuch[39m[38;5;12m [39m[38;5;12mas[39m[38;5;12m [39m[38;5;12mreceiving[39m[38;5;12m [39m[38;5;12mpushed[39m[38;5;12m [39m[38;5;12mcommits.[39m[38;5;12m [39m[38;5;12mThis[39m[38;5;12m [39m[38;5;12mrepo[39m[38;5;12m [39m[38;5;12mcontains[39m[38;5;12m [39m[38;5;12mhelpful[39m[38;5;12m [39m[38;5;12mresources[39m[38;5;12m [39m[38;5;12mas[39m[38;5;12m [39m[38;5;12mwell[39m[38;5;12m [39m[38;5;12mas[39m[38;5;12m [39m[38;5;12ma[39m[38;5;12m [39m[38;5;12mvariety[39m[38;5;12m [39m[38;5;12mof[39m[38;5;12m [39m[38;5;12mgit[39m[38;5;12m [39m[38;5;12mhook[39m[38;5;12m [39m
|
||||
[38;5;12mscripts[39m[38;5;12m [39m[38;5;12mthat[39m[38;5;12m [39m[38;5;12mcan[39m[38;5;12m [39m[38;5;12mbe[39m[38;5;12m [39m[38;5;12measily[39m[38;5;12m [39m[38;5;12mcustomized[39m[38;5;12m [39m[38;5;12mto[39m[38;5;12m [39m[38;5;12mserve[39m[38;5;12m [39m[38;5;12mdifferent[39m[38;5;12m [39m[38;5;12mpurposes.[39m
|
||||
[38;5;12mGit[39m[38;5;12m [39m[38;5;12mhooks[39m[38;5;12m [39m[38;5;12mare[39m[38;5;12m [39m[38;5;12mcustom[39m[38;5;12m [39m[38;5;12mscripts[39m[38;5;12m [39m[38;5;12myou[39m[38;5;12m [39m[38;5;12mcan[39m[38;5;12m [39m[38;5;12muse[39m[38;5;12m [39m[38;5;12mto[39m[38;5;12m [39m[38;5;12mautomate[39m[38;5;12m [39m[38;5;12mtasks[39m[38;5;12m [39m[38;5;12mwhich[39m[38;5;12m [39m[38;5;12mare[39m[38;5;12m [39m[38;5;12mtriggered[39m[38;5;12m [39m[38;5;12mbefore[39m[38;5;12m [39m[38;5;12mor[39m[38;5;12m [39m[38;5;12mafter[39m[38;5;12m [39m[38;5;12ma[39m[38;5;12m [39m[38;5;12mgit[39m[38;5;12m [39m[38;5;12mcommand[39m[38;5;12m [39m[38;5;12mis[39m[38;5;12m [39m[38;5;12mexecuted.[39m[38;5;12m [39m[38;5;12mThere[39m[38;5;12m [39m[38;5;12mare[39m[38;5;12m [39m[38;5;12mtwo[39m[38;5;12m [39m[38;5;12mgroups[39m[38;5;12m [39m[38;5;12mof[39m[38;5;12m [39m[38;5;12mthese[39m[38;5;12m [39m[38;5;12mhooks:[39m[38;5;12m [39m[38;5;12mclient-side[39m[38;5;12m [39m[38;5;12mand[39m[38;5;12m [39m[38;5;12mserver-side.[39m[38;5;12m [39m
|
||||
[38;5;12mClient-side[39m[38;5;12m [39m[38;5;12mhooks[39m[38;5;12m [39m[38;5;12mare[39m[38;5;12m [39m[38;5;12mtriggered[39m[38;5;12m [39m[38;5;12mby[39m[38;5;12m [39m[38;5;12moperations[39m[38;5;12m [39m[38;5;12msuch[39m[38;5;12m [39m[38;5;12mas[39m[38;5;12m [39m[38;5;12mcommitting[39m[38;5;12m [39m[38;5;12mand[39m[38;5;12m [39m[38;5;12mmerging,[39m[38;5;12m [39m[38;5;12mwhile[39m[38;5;12m [39m[38;5;12mserver-side[39m[38;5;12m [39m[38;5;12mhooks[39m[38;5;12m [39m[38;5;12mrun[39m[38;5;12m [39m[38;5;12mon[39m[38;5;12m [39m[38;5;12mnetwork[39m[38;5;12m [39m[38;5;12moperations[39m[38;5;12m [39m[38;5;12msuch[39m[38;5;12m [39m[38;5;12mas[39m[38;5;12m [39m[38;5;12mreceiving[39m[38;5;12m [39m[38;5;12mpushed[39m[38;5;12m [39m[38;5;12mcommits.[39m[38;5;12m [39m[38;5;12mThis[39m[38;5;12m [39m[38;5;12mrepo[39m[38;5;12m [39m[38;5;12mcontains[39m[38;5;12m [39m[38;5;12mhelpful[39m[38;5;12m [39m
|
||||
[38;5;12mresources[39m[38;5;12m [39m[38;5;12mas[39m[38;5;12m [39m[38;5;12mwell[39m[38;5;12m [39m[38;5;12mas[39m[38;5;12m [39m[38;5;12ma[39m[38;5;12m [39m[38;5;12mvariety[39m[38;5;12m [39m[38;5;12mof[39m[38;5;12m [39m[38;5;12mgit[39m[38;5;12m [39m[38;5;12mhook[39m[38;5;12m [39m[38;5;12mscripts[39m[38;5;12m [39m[38;5;12mthat[39m[38;5;12m [39m[38;5;12mcan[39m[38;5;12m [39m[38;5;12mbe[39m[38;5;12m [39m[38;5;12measily[39m[38;5;12m [39m[38;5;12mcustomized[39m[38;5;12m [39m[38;5;12mto[39m[38;5;12m [39m[38;5;12mserve[39m[38;5;12m [39m[38;5;12mdifferent[39m[38;5;12m [39m[38;5;12mpurposes.[39m
|
||||
|
||||
[38;5;12m:heavy_check_mark: Nothing to install/download[39m
|
||||
|
||||
@@ -54,17 +54,19 @@
|
||||
|
||||
[38;2;255;187;0m[4mcommit-msg[0m
|
||||
|
||||
[38;5;12m-[39m[38;5;12m [39m[38;5;14m[1menforce-insert-issue-number[0m[38;5;12m [39m[38;5;12m(https://github.com/CompSciLauren/awesome-git-hooks/blob/master/commit-msg-hooks/enforce-insert-issue-number.hook)[39m[38;5;12m [39m[38;5;12m-[39m[38;5;12m [39m[38;5;12mMake[39m[38;5;12m [39m[38;5;12msure[39m[38;5;12m [39m[38;5;12muser[39m[38;5;12m [39m[38;5;12mdid[39m[38;5;12m [39m[38;5;12mnot[39m[38;5;12m [39m[38;5;12mdelete[39m[38;5;12m [39m[38;5;12mthe[39m[38;5;12m [39m[38;5;12mISSUE-[39m[38;5;12m*[39m[48;2;30;30;40m[38;5;13m[3m#[0m[48;2;30;30;40m[38;5;14m[1m[3m [0m[48;2;30;30;40m[38;5;14m[1m[3mstring[0m[48;2;30;30;40m[38;5;14m[1m[3m [0m[48;2;30;30;40m[38;5;14m[1m[3mthat[0m[48;2;30;30;40m[38;5;14m[1m[3m [0m[48;2;30;30;40m[38;5;14m[1m[3mwas[0m[48;2;30;30;40m[38;5;14m[1m[3m [0m
|
||||
[48;2;30;30;40m[38;5;14m[1m[3mgenerated[0m[48;2;30;30;40m[38;5;14m[1m[3m [0m[48;2;30;30;40m[38;5;14m[1m[3mby[0m[48;2;30;30;40m[38;5;14m[1m[3m [0m[48;2;30;30;40m[38;5;14m[1m[3mprepare-commit-msg/insert-issue-number.hook.[0m[48;2;30;30;40m[38;5;14m[1m[3m [0m
|
||||
[38;5;12m-[39m[38;5;12m [39m[38;5;14m[1menforce-insert-issue-number[0m[38;5;12m [39m[38;5;12m(https://github.com/CompSciLauren/awesome-git-hooks/blob/master/commit-msg-hooks/enforce-insert-issue-number.hook)[39m[38;5;12m [39m[38;5;12m-[39m[38;5;12m [39m[38;5;12mMake[39m[38;5;12m [39m[38;5;12msure[39m[38;5;12m [39m[38;5;12muser[39m[38;5;12m [39m[38;5;12mdid[39m[38;5;12m [39m[38;5;12mnot[39m[38;5;12m [39m[38;5;12mdelete[39m[38;5;12m [39m[38;5;12mthe[39m[38;5;12m [39m[38;5;12mISSUE-[39m[38;5;12m*[39m[48;2;30;30;40m[38;5;13m[3m#[0m[48;2;30;30;40m[38;5;14m[1m[3m [0m
|
||||
[48;2;30;30;40m[38;5;14m[1m[3mstring[0m[48;2;30;30;40m[38;5;14m[1m[3m [0m[48;2;30;30;40m[38;5;14m[1m[3mthat[0m[48;2;30;30;40m[38;5;14m[1m[3m [0m[48;2;30;30;40m[38;5;14m[1m[3mwas[0m[48;2;30;30;40m[38;5;14m[1m[3m [0m[48;2;30;30;40m[38;5;14m[1m[3mgenerated[0m[48;2;30;30;40m[38;5;14m[1m[3m [0m[48;2;30;30;40m[38;5;14m[1m[3mby[0m[48;2;30;30;40m[38;5;14m[1m[3m [0m[48;2;30;30;40m[38;5;14m[1m[3mprepare-commit-msg/insert-issue-number.hook.[0m[48;2;30;30;40m[38;5;14m[1m[3m [0m
|
||||
|
||||
[38;2;255;187;0m[4mpost-checkout[0m
|
||||
|
||||
[38;5;12m- [39m[38;5;14m[1mdelete-pyc-files[0m[38;5;12m (https://github.com/CompSciLauren/awesome-git-hooks/blob/master/post-checkout-hooks/delete-pyc-files.hook) - Delete all .pyc files every time a new branch is checked out. [39m
|
||||
[38;5;12m- [39m[38;5;14m[1mnew-branch-alert[0m[38;5;12m (https://github.com/CompSciLauren/awesome-git-hooks/blob/master/post-checkout-hooks/new-branch-alert.hook) - Display a message when a new branch is checked out for the first time. [39m
|
||||
[38;5;12m-[39m[38;5;12m [39m[38;5;14m[1mnew-branch-alert[0m[38;5;12m [39m[38;5;12m(https://github.com/CompSciLauren/awesome-git-hooks/blob/master/post-checkout-hooks/new-branch-alert.hook)[39m[38;5;12m [39m[38;5;12m-[39m[38;5;12m [39m[38;5;12mDisplay[39m[38;5;12m [39m[38;5;12ma[39m[38;5;12m [39m[38;5;12mmessage[39m[38;5;12m [39m[38;5;12mwhen[39m[38;5;12m [39m[38;5;12ma[39m[38;5;12m [39m[38;5;12mnew[39m[38;5;12m [39m[38;5;12mbranch[39m[38;5;12m [39m[38;5;12mis[39m[38;5;12m [39m[38;5;12mchecked[39m[38;5;12m [39m[38;5;12mout[39m[38;5;12m [39m[38;5;12mfor[39m[38;5;12m [39m[38;5;12mthe[39m[38;5;12m [39m
|
||||
[38;5;12mfirst[39m[38;5;12m [39m[38;5;12mtime.[39m[38;5;12m [39m
|
||||
|
||||
[38;2;255;187;0m[4mpost-update[0m
|
||||
|
||||
[38;5;12m- [39m[38;5;14m[1mupdate-server-info[0m[38;5;12m (https://github.com/CompSciLauren/awesome-git-hooks/blob/master/post-update-hooks/update-server-info.hook) - Prepare a packed repository for use over dumb transports (e.g. http). [39m
|
||||
[38;5;12m-[39m[38;5;12m [39m[38;5;14m[1mupdate-server-info[0m[38;5;12m [39m[38;5;12m(https://github.com/CompSciLauren/awesome-git-hooks/blob/master/post-update-hooks/update-server-info.hook)[39m[38;5;12m [39m[38;5;12m-[39m[38;5;12m [39m[38;5;12mPrepare[39m[38;5;12m [39m[38;5;12ma[39m[38;5;12m [39m[38;5;12mpacked[39m[38;5;12m [39m[38;5;12mrepository[39m[38;5;12m [39m[38;5;12mfor[39m[38;5;12m [39m[38;5;12muse[39m[38;5;12m [39m[38;5;12mover[39m[38;5;12m [39m[38;5;12mdumb[39m[38;5;12m [39m[38;5;12mtransports[39m[38;5;12m [39m
|
||||
[38;5;12m(e.g.[39m[38;5;12m [39m[38;5;12mhttp).[39m[38;5;12m [39m
|
||||
|
||||
[38;2;255;187;0m[4mpre-commit[0m
|
||||
|
||||
@@ -76,22 +78,25 @@
|
||||
|
||||
[38;2;255;187;0m[4mprepare-commit-msg[0m
|
||||
|
||||
[38;5;12m-[39m[38;5;12m [39m[38;5;14m[1minclude-git-diff-name-status[0m[38;5;12m [39m[38;5;12m(https://github.com/CompSciLauren/awesome-git-hooks/blob/master/prepare-commit-msg-hooks/include-git-diff-name-status.hook)[39m[38;5;12m [39m[38;5;12m-[39m[38;5;12m [39m[38;5;12mInclude[39m[38;5;12m [39m[38;5;12mthe[39m[38;5;12m [39m[38;5;12moutput[39m[38;5;12m [39m[38;5;12mof[39m[38;5;12m [39m[38;5;12m"git[39m[38;5;12m [39m[38;5;12mdiff[39m[38;5;12m [39m[38;5;12m--name-status[39m[38;5;12m [39m[38;5;12m-r"[39m[38;5;12m [39m[38;5;12minto[39m
|
||||
[38;5;12mthe[39m[38;5;12m [39m[38;5;12mmessage,[39m[38;5;12m [39m[38;5;12mjust[39m[38;5;12m [39m[38;5;12mbefore[39m[38;5;12m [39m[38;5;12mthe[39m[38;5;12m [39m[38;5;12m"git[39m[38;5;12m [39m[38;5;12mstatus"[39m[38;5;12m [39m[38;5;12moutput.[39m[38;5;12m [39m
|
||||
[38;5;12m- [39m[38;5;14m[1minsert-issue-number[0m[38;5;12m (https://github.com/CompSciLauren/awesome-git-hooks/blob/master/prepare-commit-msg-hooks/insert-issue-number.hook) - Insert issue number to beginning of the commit message. [39m
|
||||
[38;5;12m-[39m[38;5;12m [39m[38;5;14m[1minclude-git-diff-name-status[0m[38;5;12m [39m[38;5;12m(https://github.com/CompSciLauren/awesome-git-hooks/blob/master/prepare-commit-msg-hooks/include-git-diff-name-status.hook)[39m[38;5;12m [39m[38;5;12m-[39m[38;5;12m [39m[38;5;12mInclude[39m[38;5;12m [39m[38;5;12mthe[39m[38;5;12m [39m[38;5;12moutput[39m[38;5;12m [39m[38;5;12mof[39m[38;5;12m [39m[38;5;12m"git[39m[38;5;12m [39m[38;5;12mdiff[39m[38;5;12m [39m
|
||||
[38;5;12m--name-status[39m[38;5;12m [39m[38;5;12m-r"[39m[38;5;12m [39m[38;5;12minto[39m[38;5;12m [39m[38;5;12mthe[39m[38;5;12m [39m[38;5;12mmessage,[39m[38;5;12m [39m[38;5;12mjust[39m[38;5;12m [39m[38;5;12mbefore[39m[38;5;12m [39m[38;5;12mthe[39m[38;5;12m [39m[38;5;12m"git[39m[38;5;12m [39m[38;5;12mstatus"[39m[38;5;12m [39m[38;5;12moutput.[39m[38;5;12m [39m
|
||||
[38;5;12m-[39m[38;5;12m [39m[38;5;14m[1minsert-issue-number[0m[38;5;12m [39m[38;5;12m(https://github.com/CompSciLauren/awesome-git-hooks/blob/master/prepare-commit-msg-hooks/insert-issue-number.hook)[39m[38;5;12m [39m[38;5;12m-[39m[38;5;12m [39m[38;5;12mInsert[39m[38;5;12m [39m[38;5;12missue[39m[38;5;12m [39m[38;5;12mnumber[39m[38;5;12m [39m[38;5;12mto[39m[38;5;12m [39m[38;5;12mbeginning[39m[38;5;12m [39m[38;5;12mof[39m[38;5;12m [39m[38;5;12mthe[39m[38;5;12m [39m[38;5;12mcommit[39m[38;5;12m [39m
|
||||
[38;5;12mmessage.[39m[38;5;12m [39m
|
||||
|
||||
[38;2;255;187;0m[4mpre-push[0m
|
||||
|
||||
[38;5;12m- [39m[38;5;14m[1mprevent-bad-push[0m[38;5;12m (https://github.com/CompSciLauren/awesome-git-hooks/blob/master/pre-push-hooks/prevent-bad-push.hook) - Prevent push of commits where the log message starts with "WIP" (work in progress). [39m
|
||||
[38;5;12m-[39m[38;5;12m [39m[38;5;14m[1mprevent-bad-push[0m[38;5;12m [39m[38;5;12m(https://github.com/CompSciLauren/awesome-git-hooks/blob/master/pre-push-hooks/prevent-bad-push.hook)[39m[38;5;12m [39m[38;5;12m-[39m[38;5;12m [39m[38;5;12mPrevent[39m[38;5;12m [39m[38;5;12mpush[39m[38;5;12m [39m[38;5;12mof[39m[38;5;12m [39m[38;5;12mcommits[39m[38;5;12m [39m[38;5;12mwhere[39m[38;5;12m [39m[38;5;12mthe[39m[38;5;12m [39m[38;5;12mlog[39m[38;5;12m [39m[38;5;12mmessage[39m[38;5;12m [39m[38;5;12mstarts[39m[38;5;12m [39m[38;5;12mwith[39m[38;5;12m [39m[38;5;12m"WIP"[39m[38;5;12m [39m
|
||||
[38;5;12m(work[39m[38;5;12m [39m[38;5;12min[39m[38;5;12m [39m[38;5;12mprogress).[39m[38;5;12m [39m
|
||||
|
||||
[38;2;255;187;0m[4mpre-rebase[0m
|
||||
|
||||
[38;5;12m-[39m[38;5;12m [39m[38;5;14m[1mprevent-rebase[0m[38;5;12m [39m[38;5;12m(https://github.com/CompSciLauren/awesome-git-hooks/blob/master/pre-rebase-hooks/prevent-rebase.hook)[39m[38;5;12m [39m[38;5;12m-[39m[38;5;12m [39m[38;5;12mPrevent[39m[38;5;12m [39m[38;5;12mtopic[39m[38;5;12m [39m[38;5;12mbranches[39m[38;5;12m [39m[38;5;12mthat[39m[38;5;12m [39m[38;5;12mare[39m[38;5;12m [39m[38;5;12malready[39m[38;5;12m [39m[38;5;12mmerged[39m[38;5;12m [39m[38;5;12mto[39m[38;5;12m [39m[38;5;12m'next'[39m[38;5;12m [39m[38;5;12mbranch[39m[38;5;12m [39m[38;5;12mfrom[39m[38;5;12m [39m[38;5;12mgetting[39m[38;5;12m [39m[38;5;12mrebased,[39m[38;5;12m [39m
|
||||
[38;5;12mbecause[39m[38;5;12m [39m[38;5;12mallowing[39m[38;5;12m [39m[38;5;12mit[39m[38;5;12m [39m[38;5;12mwould[39m[38;5;12m [39m[38;5;12mresult[39m[38;5;12m [39m[38;5;12min[39m[38;5;12m [39m[38;5;12mrebasing[39m[38;5;12m [39m[38;5;12malready[39m[38;5;12m [39m[38;5;12mpublished[39m[38;5;12m [39m[38;5;12mhistory.[39m[38;5;12m [39m
|
||||
[38;5;12m-[39m[38;5;12m [39m[38;5;14m[1mprevent-rebase[0m[38;5;12m [39m[38;5;12m(https://github.com/CompSciLauren/awesome-git-hooks/blob/master/pre-rebase-hooks/prevent-rebase.hook)[39m[38;5;12m [39m[38;5;12m-[39m[38;5;12m [39m[38;5;12mPrevent[39m[38;5;12m [39m[38;5;12mtopic[39m[38;5;12m [39m[38;5;12mbranches[39m[38;5;12m [39m[38;5;12mthat[39m[38;5;12m [39m[38;5;12mare[39m[38;5;12m [39m[38;5;12malready[39m[38;5;12m [39m[38;5;12mmerged[39m[38;5;12m [39m[38;5;12mto[39m[38;5;12m [39m[38;5;12m'next'[39m[38;5;12m [39m[38;5;12mbranch[39m[38;5;12m [39m[38;5;12mfrom[39m[38;5;12m [39m
|
||||
[38;5;12mgetting[39m[38;5;12m [39m[38;5;12mrebased,[39m[38;5;12m [39m[38;5;12mbecause[39m[38;5;12m [39m[38;5;12mallowing[39m[38;5;12m [39m[38;5;12mit[39m[38;5;12m [39m[38;5;12mwould[39m[38;5;12m [39m[38;5;12mresult[39m[38;5;12m [39m[38;5;12min[39m[38;5;12m [39m[38;5;12mrebasing[39m[38;5;12m [39m[38;5;12malready[39m[38;5;12m [39m[38;5;12mpublished[39m[38;5;12m [39m[38;5;12mhistory.[39m[38;5;12m [39m
|
||||
|
||||
[38;2;255;187;0m[4mquery-watchman[0m
|
||||
|
||||
[38;5;12m- [39m[38;5;14m[1mfsmonitor-watchman[0m[38;5;12m (https://github.com/CompSciLauren/awesome-git-hooks/blob/master/query-watchman-hooks/fsmonitor-watchman.hook) - Output to stdout all files that have been modified since a given time. [39m
|
||||
[38;5;12m-[39m[38;5;12m [39m[38;5;14m[1mfsmonitor-watchman[0m[38;5;12m [39m[38;5;12m(https://github.com/CompSciLauren/awesome-git-hooks/blob/master/query-watchman-hooks/fsmonitor-watchman.hook)[39m[38;5;12m [39m[38;5;12m-[39m[38;5;12m [39m[38;5;12mOutput[39m[38;5;12m [39m[38;5;12mto[39m[38;5;12m [39m[38;5;12mstdout[39m[38;5;12m [39m[38;5;12mall[39m[38;5;12m [39m[38;5;12mfiles[39m[38;5;12m [39m[38;5;12mthat[39m[38;5;12m [39m[38;5;12mhave[39m[38;5;12m [39m[38;5;12mbeen[39m[38;5;12m [39m[38;5;12mmodified[39m[38;5;12m [39m[38;5;12msince[39m[38;5;12m [39m[38;5;12ma[39m
|
||||
[38;5;12mgiven[39m[38;5;12m [39m[38;5;12mtime.[39m[38;5;12m [39m
|
||||
|
||||
[38;2;255;187;0m[4mupdate[0m
|
||||
|
||||
@@ -101,7 +106,8 @@
|
||||
|
||||
[38;5;12m1. Pick a hook, any hook! Try the "verify-name-and-email" one if you're not sure where to start.[39m
|
||||
[38;5;12m2. Navigate to your project's hooks folder (.git/hooks).[39m
|
||||
[38;5;12m3. You should see a list of files already in there. Create a new file called the exact commit type that you want to use (eg: "commit-msg", "pre-rebase", "pre-commit", etc). Do not give it an extension.[39m
|
||||
[38;5;12m3.[39m[38;5;12m [39m[38;5;12mYou[39m[38;5;12m [39m[38;5;12mshould[39m[38;5;12m [39m[38;5;12msee[39m[38;5;12m [39m[38;5;12ma[39m[38;5;12m [39m[38;5;12mlist[39m[38;5;12m [39m[38;5;12mof[39m[38;5;12m [39m[38;5;12mfiles[39m[38;5;12m [39m[38;5;12malready[39m[38;5;12m [39m[38;5;12min[39m[38;5;12m [39m[38;5;12mthere.[39m[38;5;12m [39m[38;5;12mCreate[39m[38;5;12m [39m[38;5;12ma[39m[38;5;12m [39m[38;5;12mnew[39m[38;5;12m [39m[38;5;12mfile[39m[38;5;12m [39m[38;5;12mcalled[39m[38;5;12m [39m[38;5;12mthe[39m[38;5;12m [39m[38;5;12mexact[39m[38;5;12m [39m[38;5;12mcommit[39m[38;5;12m [39m[38;5;12mtype[39m[38;5;12m [39m[38;5;12mthat[39m[38;5;12m [39m[38;5;12myou[39m[38;5;12m [39m[38;5;12mwant[39m[38;5;12m [39m[38;5;12mto[39m[38;5;12m [39m[38;5;12muse[39m[38;5;12m [39m[38;5;12m(eg:[39m[38;5;12m [39m[38;5;12m"commit-msg",[39m[38;5;12m [39m[38;5;12m"pre-rebase",[39m[38;5;12m [39m[38;5;12m"pre-commit",[39m[38;5;12m [39m[38;5;12metc).[39m[38;5;12m [39m[38;5;12mDo[39m[38;5;12m [39m[38;5;12mnot[39m[38;5;12m [39m[38;5;12mgive[39m[38;5;12m [39m[38;5;12mit[39m[38;5;12m [39m[38;5;12man[39m[38;5;12m [39m
|
||||
[38;5;12mextension.[39m
|
||||
|
||||
[38;5;12m![39m[38;5;14m[1mcreate new file[0m[38;5;12m (create-new-file.gif)[39m
|
||||
|
||||
|
||||
Reference in New Issue
Block a user