Updating conversion, creating readmes
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,8 +54,8 @@
|
||||
|
||||
[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
|
||||
|
||||
@@ -76,8 +76,8 @@
|
||||
|
||||
[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;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;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;2;255;187;0m[4mpre-push[0m
|
||||
@@ -86,8 +86,8 @@
|
||||
|
||||
[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
|
||||
|
||||
@@ -105,8 +105,7 @@
|
||||
|
||||
[38;5;12m![39m[38;5;14m[1mcreate new file[0m[38;5;12m (create-new-file.gif)[39m
|
||||
|
||||
[38;5;12m4.[39m[38;5;12m [39m[38;5;12mOpen[39m[38;5;12m [39m[38;5;12myour[39m[38;5;12m [39m[38;5;12mnew[39m[38;5;12m [39m[38;5;12mfile[39m[38;5;12m [39m[38;5;12mand[39m[38;5;12m [39m[38;5;12mpaste[39m[38;5;12m [39m[38;5;12mthe[39m[38;5;12m [39m[38;5;12mcode[39m[38;5;12m [39m[38;5;12mfrom[39m[38;5;12m [39m[38;5;12mthe[39m[38;5;12m [39m[38;5;12mhook[39m[38;5;12m [39m[38;5;12myou[39m[38;5;12m [39m[38;5;12mchose[39m[38;5;12m [39m[38;5;12mout[39m[38;5;12m [39m[38;5;12mof[39m[38;5;12m [39m[38;5;12mthis[39m[38;5;12m [39m[38;5;12mrepo[39m[38;5;12m [39m[38;5;12m(eg:[39m[38;5;12m [39m[38;5;14m[1mverify-name-and-email.hook[0m[38;5;12m [39m
|
||||
[38;5;12m(https://github.com/CompSciLauren/git-hooks/blob/master/pre-commit-hooks/verify-name-and-email.hook)).[39m
|
||||
[38;5;12m4. Open your new file and paste the code from the hook you chose out of this repo (eg: [39m[38;5;14m[1mverify-name-and-email.hook[0m[38;5;12m (https://github.com/CompSciLauren/git-hooks/blob/master/pre-commit-hooks/verify-name-and-email.hook)).[39m
|
||||
[38;5;12m5. Save file. Done! Now the git hook will be triggered automatically.[39m
|
||||
|
||||
[38;2;255;187;0m[4mTools[0m
|
||||
|
||||
Reference in New Issue
Block a user