WIP: add formatting doc and pre-commit #7
Reference in New Issue
Block a user
No description provided.
Delete Branch "docs-formatting"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is a quick start, we can change it all or just some.
I'm not certain how to create the pre-commit hook for windows, I think bash works on MacOS? Any help is appreciated and feel free to push to this branch.
Closes #6
add formatting doc and pre-committo WIP: add formatting doc and pre-commit57610d69dctocb07f81a1f@ -0,0 +27,4 @@If you want to think about formatting your code less and just have git yell at you whe you try to commit code that is not properly formatted, you can use a simple pre-commit hook.After cloning the repo, the file `pre-commit` to `.git/hooks/pre-commit`. That's it.missing a verb in this line?
Indeed, thank you.
cb07f81a1fto57610d69dc316b67c596to136da63d00Any suggestions on a folder to use for things like the pre commit hook?
Also wondering if this commit should format the existing code since it is not currently.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.