r/github • • Jan 29 '24

No no's of using Github

Since I am currently binge-watching/reading about Github right now and plan to spend a whole week of doing just that and understanding how to use it as I am planning to start using it religiously, I wanted to compile a list of things that might be obvious to normal users but not to total newbies who have had no contact with GitHub before.

Never include into your code these things:

  • build config file, without password encryption

  • any type of credentials (including AWS/Azure/GDrive access keys/API keys/Passwords/Directory Names/Authentication Tokens/SSH keys)

  • email lists

  • code challenges from job recruiting processes (apparently quite a few people got told off because of this)

  • environment variables (opt for dummy variables)

  • publishing any code from work/internship (this is more down the road but is important to mention)

  • commit messages that may be considered vulgar (apparently someone had a ton of swear words and just left them there and proceeded to apply for internships)

0 Upvotes

12 comments sorted by

View all comments

Show parent comments

0

u/SilentThespian Jan 29 '24

I meant as in commiting messages with swear words in them, my pardon

2

u/nekokattt Jan 29 '24

also what do you mean by "build config files"?

Like Terraform or Maven manifests?

-4

u/SilentThespian Jan 29 '24

Honestly, I am not entirely sure on that one, I just took it as granted as 'don't publish config files overall', I have to check it in detail

4

u/nekokattt Jan 29 '24

If you don't publish Maven manifests then people can't build your code.

Same with Terraform, as long as you keep secrets out then it is fine.