Add gitignore v1 REJECTED

: 1
 Add gitignore

 1 files changed, 3 insertions(+), 0 deletions(-)
I understand that you will avoid merging patches that touch these files, 
this .gitignore also helps when developing. You can make changes, build 
and test, and then `git add -A .` will not include those generated 
files. I was particularly bitten by that fancy template.

It's a standardize message that those files are built, not to be 

It's your call to make. :)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~ancarda/tls-redirector/patches/16073/mbox | git am -3
Learn more about email & git

[PATCH] Add gitignore Export this patch

- Built binary
- Generated code
  .gitignore | 3 +++
  1 file changed, 3 insertions(+)
  create mode 100644 .gitignore

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..f4a249f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
# Autogenerated

I removed the gitignore file in this commit:

I think it's better to catch these mistakes on the mailing list / in
pull requests -- which is a good opportunity to teach people about
`git rebase'.

If you want to be able to do `git add .', keep the file. Just include
the ignore file itself so it doesn't get checked in, like so:


I'll admit fancy/templates.go could probably be renamed to make it more
clear you're not meant to check it in.


December 21, 2020 3:42 PM, me@somini.xyz wrote: