Is it okay to save work-related code in my personal GitHub repo?

0
6
Asked By TechieTurtle99 On

Hey everyone! I'm a Network Engineer with a solid grasp of Python, and I've developed several useful tools for my job. I'm proud of my work, and I think it could come in handy for future job opportunities. I was wondering if it's acceptable to save the code I create while working in my personal GitHub repository. I've checked my contract, and it doesn't mention anything about owning the code I write. However, I'm aware there are confidentiality concerns, so I would sanitize the code before posting it. I'm based in the UK, and I'm interested in getting your thoughts on whether this is a good idea or if it could lead to legal issues. Do I need to talk to my manager about this first?

5 Answers

Answered By LegalEagle88 On

Short answer: No. Anything you create during work hours is usually owned by your employer unless stated otherwise. You might get fired and face legal issues if you upload that code to your personal repo.

SeekingAdvice101 -

Just curious, what if you sanitize the code before uploading?

Answered By PrudentPanda On

To be safe, you could create private repositories for your work, which keeps it accessible without the risk of exposing confidential information. Just be mindful – any code you upload should be free of secrets to prevent any backlash later on.

SoloDev247 -

Same here, I’ve been keeping it all private just to be safe.

WorkaholicCoder -

Great advice, private repos sound like the way to go!

Answered By OpenSourceAdvocate On

If your contract allows it and you sanitize any sensitive data, keeping a cleaned-up version could actually benefit you. Just don’t share anything that’s tied to internal processes or proprietary information. A GitHub repo with generalized tools would be a great way to showcase your skills without risking your job.

ProudDev22 -

That sounds like a smart solution!

CodeNinjaOUT -

Yeah, it’s all about the balance!

Answered By CautiousCoder42 On

Honestly, I'd recommend against it. Most employment contracts specify that anything you write during work hours belongs to the company. Sharing it on your personal GitHub could get you in serious legal trouble if they find out. It’s safer to ask your manager if any parts of your work can be shared generically without linking back to the company.

CuriousMonkey23 -

But how would they even know about it?

QuestioningQuokka -

Yeah, isn’t there a chance it could go unnoticed?

Answered By Won'tRiskIt On

Avoid doing this at all costs. Your code qualifies as company property, and copying it to your personal computer could trigger a lawsuit. Focus on making your resume highlight your projects instead!

JobHunter999 -

True, resumes should reflect our skills without risking our jobs.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.