|
I use Git CLI for everything except for merge conflicts, which I use git-conflicted for. I am basically Git-Neo.
|
# ? Aug 12, 2021 00:37 |
|
|
# ? May 13, 2024 06:34 |
|
wolfman101 posted:for merge conflicts, which I use git-conflicted for.
|
# ? Aug 12, 2021 05:34 |
|
wolfman101 posted:I use Git CLI for everything except for merge conflicts, which I use git-conflicted for. I am basically Git-Neo. Same except gedit with the git plugin for merge conflicts. Edit: Everybody should use this alias: alias gpp=“git pull --prune && git submodule update --recursive”
|
# ? Aug 12, 2021 08:37 |
|
Doesn't Git prune/gc periodically on it's own? I mean, every so often when you pull, not without interaction.
|
# ? Aug 12, 2021 14:33 |
|
Prune and gc are unrelated operations. Git automatically runs gc, but does not automatically prune ever by default as it's a destructive action. If you want it to always happen you can just set git config remote.origin.prune true.
|
# ? Aug 12, 2021 15:48 |
froglet posted:I think I'm at the point where I need to either find a new job, or demand a substantial pay rise. While I wouldn't say I'm fantastic at any one thing, I realised while writing things down today that being a generalist might be a speciality in and of itself, particularly given my role. I'm still going to really struggle with the asking, though. I did it a few months ago. They agreed in principle but didn't have the money. But in the past few weeks they did hire two new people. And... I get it. They need staff. But I was a bit miffed. The market is going bananas right now, so I had something like 5 interviews across 2 days and had 4 offers to pick from, all for substantially more than what I make currently. It's a no-brainer - I handed in my notice today. Current work are a bit unhappy. I'll try to hand everything over, but I'm still going to be walking out the door with a whole heap of stuff that isn't written down anywhere. I'm feeling a bit sad about it - I liked the work itself, things were starting to look like they were going to pick up, and some stuff I would have found extremely fun and interesting was coming up, buuut... The vibe at this job was they didn't really appreciate the value of testing, and took for granted all the neat stuff I did that's way outside the scope of a manual tester. wolfman101 posted:I use Git CLI for everything except for merge conflicts, which I use git-conflicted for. I am basically Git-Neo. All you git CLI people, all I want to ask is how did you git gud?
|
|
# ? Aug 12, 2021 16:35 |
|
Plorkyeran posted:Prune and gc are unrelated operations. Git automatically runs gc, but does not automatically prune ever by default as it's a destructive action. If you want it to always happen you can just set git config remote.origin.prune true. Except git gc calls git prune directly whenever it runs. https://git-scm.com/docs/git-gc
|
# ? Aug 12, 2021 16:41 |
|
Carbon dioxide posted:Except git gc calls git prune directly whenever it runs. https://git-scm.com/docs/git-gc thats not the same prune. using --prune with git pull is like doing git remote prune <name>. git prune cleans up unreferenced objects
|
# ? Aug 12, 2021 16:57 |
|
DoomTrainPhD posted:Same except gedit with the git plugin for merge conflicts. I have that same alias, except the submodule part because nothing I work with has them. I also have `gfp` for the fetch equivalent, in case I don't want to touch the branch I'm on (most often like I want to fetch latest main and then rebase on it or something) Related, I added this more recently and it's been just the best: code:
|
# ? Aug 13, 2021 02:35 |
|
froglet posted:All you git CLI people, all I want to ask is how did you git gud? Whenever you're frustrated with git, take a deep breath, have some ginger and turmeric, and then consult the git man page generator.
|
# ? Aug 13, 2021 04:53 |
|
froglet posted:I did it a few months ago. They agreed in principle but didn't have the money. But in the past few weeks they did hire two new people. Congrats! Do not feel too guilty or work too hard on the way out. They got plenty while they underpaid you for X years.
|
# ? Aug 13, 2021 06:21 |
|
Steve French posted:I have that same alias, except the submodule part because nothing I work with has them. I also have `gfp` for the fetch equivalent, in case I don't want to touch the branch I'm on (most often like I want to fetch latest main and then rebase on it or something) It... locally deletes all branches that are gone from the remote?
|
# ? Aug 13, 2021 07:06 |
|
yep
|
# ? Aug 13, 2021 07:23 |
|
Careful with that -D - I caused a coworker to lose work by cleaning up stale branches on remote that they had committed but unpushed work in locally. We all learned a lesson that day.
|
# ? Aug 13, 2021 13:38 |
|
Clanpot Shake posted:Careful with that -D But enough about your love life
|
# ? Aug 13, 2021 17:11 |
|
Clanpot Shake posted:Careful with that -D - I caused a coworker to lose work by cleaning up stale branches on remote that they had committed but unpushed work in locally. We all learned a lesson that day. Generally not a problem for how I and my team get work done with git, but a fair point. In case you weren't aware, just deleting the branch doesn't actually delete the commits, it is just deleting a reference to them (which can cause them to be deleted later with other operations). If anyone is interested in using an alias like this but has a concern that it might delete a branch that they wanted to keep, you could augment it to print out the commit hash of any branches being deleted, so you can easily recover them.
|
# ? Aug 13, 2021 17:16 |
|
Clanpot Shake posted:Careful with that -D - I caused a coworker to lose work by cleaning up stale branches on remote that they had committed but unpushed work in locally. We all learned a lesson that day. Git works a lot like a filesystem where the actual commit data is like inodes on disk and the different refs like tags and branches are hard links pointing to these inodes. If all the incoming refs to a blob are removed, the next garbage collection will remove that blob, but until that time it's still there and you can always make a new ref pointing to the blob (though technically I think you're making a ref to an index file and that index file then references all the different involved blobs). That's one reason why the reflog is so useful, because it breaks the fourth wall and lets you operate on entities in the repository that might otherwise be lost or forgotten. Just deleted a branch accidentally? No problem, look at the reflog which will reveal the hash and then you can make a new ref pointing back to it.
|
# ? Aug 16, 2021 19:19 |
|
That's true and all well and good but most of the time GC will have run already by the time your coworker actually notices. It's nice that git has a reasonably effective recovery mode but fetch, merge, rebase, and commit all run gc --auto (I'm sure there are others, those are the ones I'm aware of) so be careful when working on remotes, especially with branches that aren't your own.
|
# ? Aug 17, 2021 13:58 |
|
By default git gc only removes reflog entries older than 90 days. I do have some local branches older than 3 months which I wouldn't want to have deleted, but they certainly aren't the norm.
|
# ? Aug 17, 2021 22:38 |
downout posted:Congrats! Do not feel too guilty or work too hard on the way out. They got plenty while they underpaid you for X years. Oh yeah absolutely. And today they were talking about doing all the things I've been agitating about for 3 whole loving years to make testing so much better and easier. I'm genuinely angered by all this - 0 time or money has been put into developing testing (or me/my career), and now I'm going suddenly there's time and money for those things.
|
|
# ? Aug 19, 2021 12:50 |
|
froglet posted:Oh yeah absolutely. Well yes, you just gave them extra money for the budget!
|
# ? Aug 19, 2021 14:12 |
|
Volmarias posted:Well yes, you just gave them extra money for the budget! That money will be given to an executive as a bonus for cutting costs, or allocated to a contractor that will cause at least three new, worse problems, and you know it.
|
# ? Aug 21, 2021 06:40 |
Volmarias posted:Well yes, you just gave them extra money for the budget! Che Delilas posted:That money will be given to an executive as a bonus for cutting costs, or allocated to a contractor that will cause at least three new, worse problems, and you know it. Oh, that latter one, almost certainly. I told my husband my contract rate is going to be $250/hr, 4 hours minimum. I handed over some of my scripts on Friday and I suspect people at work are only realising now that the automation I've done is far more substantial and elaborate than they anticipated. That being said, I'm pretty sure they know I'm leaving shoes so big no one person could possibly fill them. They're planning to advertise a third to a half of my job for (probably) roughly the same money as I make now. (edit: I am so curious whether or not the ad has gone up so I can find out and seethe a bit more...). It's not like I've been hiding this stuff. My boss knew I had macros saved on my PC (nowhere shared coz nobody else ever needed it and I generally had too much to do to worry about getting hit by a bus), but the rest was all in the shared work repositories. Of course, it's only now I'm pointing it out he's having a look and perhaps realising the volume and quality of work is going to be hard to replace. Also... This place is pretty disorganised. It took over a week after I quit for my boss to say "hey can you put your files somewhere central?". Luckily for him, I'd started said folder months ago, along with ones for help notes, FAQs, and all the emails I'd sent to other teams in vain. A fair bit of the stuff is already there if they thought to look. The business manager said they couldn't match the $ I've been offered as it's roughly what they pay their senior developers. And I'm like... Yeah, I'm not a senior developer, but I've been here 3 years, am #1 in knowledge of your app, I wrote all the release notes and the majority of the stories, bugs, test cases and wiki articles, provide extensive support to your own support team, and automated the crap out of your app off my own back coz it made my life easier. In terms of the value I provide to your business, matching the offer I got elsewhere would be a bargain. But alas, they don't think of it like that. Their loss! froglet fucked around with this message at 15:23 on Aug 25, 2021 |
|
# ? Aug 24, 2021 06:26 |
|
I made senior after three years and I am not all that good at this job. Leaving sounds like a great decision.
|
# ? Aug 24, 2021 10:09 |
|
thotsky posted:I made senior after three years and I am not all that good at this job. Leaving sounds like a great decision. The Cavern of COBOL › Working in Development: Leaving sounds like a great decision.
|
# ? Aug 25, 2021 18:48 |
|
Munkeymon posted:The Cavern of COBOL › Working in Development: Leaving sounds like a great decision.
|
# ? Aug 25, 2021 19:59 |
Munkeymon posted:The Cavern of COBOL › Working in Development: Leaving sounds like a great decision.
|
|
# ? Aug 25, 2021 20:07 |
|
Munkeymon posted:The Cavern of COBOL › Working in Development: Leaving sounds like a great decision. Mods????
|
# ? Aug 25, 2021 20:57 |
|
Munkeymon posted:The Cavern of COBOL › Working in Development: Leaving sounds like a great decision.
|
# ? Aug 25, 2021 21:07 |
|
Munkeymon posted:The Cavern of COBOL › Working in Development: Leaving sounds like a great decision.
|
# ? Aug 25, 2021 21:51 |
|
Munkeymon posted:The Cavern of COBOL › Working in Development: Leaving sounds like a great decision.
|
# ? Aug 25, 2021 21:51 |
|
It totally loving is.
|
# ? Aug 25, 2021 21:53 |
|
Munkeymon posted:The Cavern of COBOL › Working in Development: Leaving sounds like a great decision.
|
# ? Aug 25, 2021 22:11 |
Munkeymon posted:The Cavern of COBOL › Working in Development: Leaving sounds like a great decision.
|
|
# ? Aug 25, 2021 23:02 |
|
Munkeymon posted:The Cavern of COBOL › Working in Development: Leaving sounds like a great decision.
|
# ? Aug 26, 2021 07:17 |
very cool feeling to go home after your entire team just got laid off with no warning, open linkedin to start updating it, and see a post from your company's ceo about how they just posted their highest % profit growth in one quarter ever eat poo poo you loving blowhards
|
|
# ? Sep 8, 2021 21:33 |
|
i vomit kittens posted:very cool feeling to go home after your entire team just got laid off with no warning, open linkedin to start updating it, and see a post from your company's ceo about how they just posted their highest % profit growth in one quarter ever Suppose this is the bit where your purposefully make business logic do the wrong thing
|
# ? Sep 8, 2021 21:34 |
thotsky posted:I made senior after three years and I am not all that good at this job. Leaving sounds like a great decision. I'm not a (professional) developer, I cobble scripts to augment my manual testing (i.e. to solve problems that are bothering me and/or getting in my way). I mean, I say that but I also did a whole lot more than manual testing, up to and including creating scripts to use in production (my reaction when asked: . And yes, I did do it, but I put an excessive amount of error handling into that thing, then got the senior dev to run through it, and created more test data than strictly necessary to ensure it was all going to go through okay without exploding in prod). During my last week, I actually sent an email to my manager detailing how terrible testing is at this job, what I did to make it more manageable, and what they can do to fix it both now and in the long term. I didn't exactly tread any new ground - my boss was well aware of the problems - but I laid out why it makes testing either bad or hard, how it'd drive away a lot of testers because it's incredibly demoralising, and what actual good testing looks like from my (admittedly limited) experience. Everyone on my team knew testing was hosed, but they didn't have to do it, so they didn't bother doing anything to fix it despite my (numerous) complaints and conviction that even a little bit of investment in testing would be incredibly helpful. Eventually I stopped complaining and developed what amounted to a series of workarounds to help me handle their apathy. Coz hey, they made it clear they weren't going to fix it and didn't seem to be too bothered by the teams velocity tanking as a result, so what's a few more hours here and there to work out how to make my job easier and/or less miserable? Anyway, Friday was my last day. When my partner saw the card they gave me, he said 'wow, gently caress those guys, I'm glad you're out'.
|
|
# ? Sep 14, 2021 16:11 |
|
froglet posted:I'm not a (professional) developer, I cobble scripts to augment my manual testing (i.e. to solve problems that are bothering me and/or getting in my way). Nice.
|
# ? Sep 14, 2021 16:45 |
|
|
# ? May 13, 2024 06:34 |
|
froglet posted:Anyway, Friday was my last day. When my partner saw the card they gave me, he said 'wow, gently caress those guys, I'm glad you're out'. Post the best excerpts from the card
|
# ? Sep 14, 2021 19:11 |