It's still possible to unintentionally introduce code into source control. This is unacceptable. A .gitignore should be provided to ensure this doesn't happen.
For example:
.gitignore
**/**
This would then be code, no?
@elliottpolk A small sacrifice for a long-term benefit
.ts
.js
.html
.css
.scss
.py
.cpp
.jsx
.tsx
.gitignore has a conflict. Requires computer to be turned on.
*
!.gitignore
should do the trick. Technically, it is more of a pre-commit hook of sorts, rather than code.
@elliottpolk A small sacrifice for a long-term benefit
This is how it starts.
I'd advise not to add much more business logic here.
Most helpful comment
should do the trick. Technically, it is more of a pre-commit hook of sorts, rather than code.