For example, we're changing some of our server infrastructure. This was supposed to be a huge project and was anticipated to take at least 6 months. I found and modified a script that will do it in ~30 seconds, took me a few hours. Instead of presenting it at our team meeting, I sent it to my manager and let her present it to her managers. Everyone was very impressed with her work writing it. I don't really care about getting credit for it since:
(1) if I want to stay here and get a promotion or raise, it'll be my manager approving that.
(2) if I decide to leave (the much more likely scenario), I don't care about how much credit I got here. My close coworkers know what I do/have accomplished which is all that matters for a reference.
After learning this, I've been trying to go to my manager with potential issues and solutions preemptively. I'll present a few solutions like "would it be helpful to you if you had ___ or ___?" and let her micromanage which one.
I've had a manager take credit for my work, gaslight, and fire me when he was getting in trouble for underpreforming. I had no relationship with his bosses; I kept my nose down and did my work. I documented the craziness, but it happened so fast I could not defend myself. I learned to toot my horn some too. But really I should have left that department/company sooner. Yrmv.
I don't think a good manager will take full credit for underlings work.
IMO, that a manager would do this is pretty messed up. Even if YOU don't care, if this continues this manager will start to develop a reputation for taking credit from others. Then it will be much harder to recruit people internally to their team.
The best managers constantly are talking up people on THEIR team. They are responsible for creating an environment where people can excel. This makes them look good at a manager ("Everyone on my team consistently over-performs!"), everyone on the team looks great and it makes it easier for them to get recognition and promotions, and it makes it a very desirable team to work on which makes recruiting internally much easier.
> if I want to stay here and get a promotion or raise, it'll be my manager approving that
Is this truly solely up to your immediate manager? In a lot of (most? almost all?) cases, it takes people above your manager approving it too. And if those higher-ups think that your manager did the things that are being used to justify your promotion/raise, you might not like the outcome.
(1) if I want to stay here and get a promotion or raise, it'll be my manager approving that.
(2) if I decide to leave (the much more likely scenario), I don't care about how much credit I got here. My close coworkers know what I do/have accomplished which is all that matters for a reference.
After learning this, I've been trying to go to my manager with potential issues and solutions preemptively. I'll present a few solutions like "would it be helpful to you if you had ___ or ___?" and let her micromanage which one.