There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Sorse ,
@Sorse@discuss.tchncs.de avatar

My git knowledge:

git clone <url>

Ephera ,

Well, if anyone wants to learn more about Git, I can recommend this: ohmygit.org

JustAnotherRando ,

Another good one, entirely browser based, is learngitbranching.js.org

Marcbmann ,

I think HR is just ill equipped for technical interviews, but they try to conduct them regardless.

Was denied a position because HR felt my experience “lacked depth” which I still can’t understand 3 years later.

Did the same role at a larger company. Had more responsibility than they were giving me. Developed my own tools for job automation. Grew their business from nothing to half a mil a month. Experienced all stages of growth and realized massive success.

After that interview I kept getting technical interviews and getting passed on because I was too senior for the position

go_go_gadget ,

Woah look at mr. fancy pants with his git push arguments.

thirteene ,

I use this in my bash profile in case anyone else finds it helpful. Usage is:

gao fixing a typo


<span style="color:#323232;">function gao() {
</span><span style="color:#323232;">    git add .
</span><span style="color:#323232;">    git commit -a -m "$*"
</span><span style="color:#323232;">    git push origin `git rev-parse --abbrev-ref HEAD`
</span><span style="color:#323232;">}
</span>
samus12345 ,
@samus12345@lemmy.world avatar

Seeing Peter Griffin labelled as “HR”, I automatically pronounce the R as “Ah” in my head.

ytg ,

Every once in a while, you can refresh your memory by reading the man page.

Or if, like me, you use Emacs, Magit exposes everything quite clearly.

chicken ,

If you happen to forget the -m though, you may also need to have mastered exiting vim

jxk ,

Me as an Emacs user, who omits -m on purpose to practice quitting vi in case I really need it

PotatoesFall ,

you’re an emacs user who has vi set up as the default editor on your system?

(You can change it altering the $EDITOR env var)

jxk ,

I only use $EDITOR to launch vi from git. Emacs runs as a single process and is always open.

Wiz ,

Shift-Z Shift-Z to quit vi. Let’s keep it simple, people!

JATtho ,

The day I configured git to use Geany for commit messages with a separate config specifically tuned for this, it improved my life by 300%


<span style="color:#323232;">~$ cat ~/bin/gitedit
</span><span style="color:#323232;">#!/bin/sh
</span><span style="color:#323232;">exec /usr/bin/geany -i -s -t -c ~/.config/gitgeany $@
</span>

Then in git config: git config --global core.editor “gitedit”

Trollception ,

What developer uses Linux in professional work? Maybe for on the side stuff but I haven’t seen any corporate Linux machines.

aodhsishaj ,

Hello, I use a linux machine for dev work and all the servers and containers I touch are linux, all managed through gitlab CI/CD.

git scm is my daily driver and I use it for not taking and documentation as well as active python development.

atx_aquarian ,
@atx_aquarian@lemmy.world avatar

Macs are basically BSD, and Windows has WSL.

Trollception ,

But Mac or WSL are not Linux.

Solemn ,

Everywhere I’ve worked, you have a Windows/Mac for emails, and then either use WSL, develop on console in Mac since it’s Linux, or most commonly have a dedicated Linux box or workstation.

I’m starting to see people using VSCode more these days though.

Trollception ,

I thought Mac was unix which is similar but different from Linux?

Solemn ,

I think someone else said what it actually is in another comment. It’s functionally identical 90℅ of the time for me anyway,and I use CLI and vim on it.

Ephera ,

They’re both UNIX-like, i.e. they both implement the POSIX specification and are therefore in many ways compatible.

But yeah, modern macOS is more directly derived from the original UNIX operating system.
Linux was instead implemented from scratch to be compatible with UNIX.

Ephera ,

The entire IT ecosystem is built around Linux, because it’s so prevalent in servers, containers, budget hardware and the open-source community.

Yes, many companies don’t understand that and expect their devs to be productive on Windows. But in my experience, that’s an uphill battle.

In my company, we get very little IT support, if we decide to order a Linux laptop and we still have significantly less trouble with getting things set up to start coding.
Not to mention the productivity boost from having all the relevant technologies natively available + being able to script whatever you want.

RobertoOberto ,

Everyone at Mentor Graphics did before it got gobbled up by Siemens in 2017. I don’t know if they still do.

Ohi ,

Aye, most of my 10 year career in web dev is pretty much those commands. However, some advanced git concepts are worth diving into. Stuff like git bisect that can narrow down the exact commit that broke your app is an absolute life saver. Knowing how to git cherry-pick is also a git skill professionals should be comfortable doing. Migrating work from one branch to another without merging the entire branch is pretty common.

psivchaz ,

All these comments and no one is going to point out that this is invalid?

The git stage and git commit don’t have any terminator, so it’s all one “command” and will fail. Then there’s a single & between git commit and git push, so it would run in parallel, so it would also fail.

Also, don’t git stage . people. Or at least do a git status before to make sure you didn’t stage file-with-all-the-production-secrets

SpaceCowboy ,
@SpaceCowboy@lemmy.ca avatar

Pffft… all of my api keys are open source. Having more eyes on them will make them more secure!

themusicman ,

The comma and ampersand are plain English, not one big command

Wilzax ,

So do you guys pronounce it git or jit

d00phy ,

The holy war we deserve.

SpaceCowboy ,
@SpaceCowboy@lemmy.ca avatar

I pronounce it the correct way you silly git!

Wiz ,

Git off my lawn. Git!

m12421k ,

fortunately this one isn’t an acronym. so the pronunciation is obvious. 😊

Wilzax ,

Acronyms are still pronounced like the words they most closely resemble though

shasta ,

But git is not an acronym

madcaesar ,

This guy jits it

ikidd ,
@ikidd@lemmy.world avatar

Is that what we’re going to do tonight, we’re gonna fight?

jenny_ball ,
@jenny_ball@lemmy.world avatar

lol it’s on now!

DaleGribble88 ,
@DaleGribble88@programming.dev avatar
257m ,

Don’t start this. Its not like gif. Git is clearly pronounced like git. There is no possible argument you can make otherwise.

Wilzax ,

Same could be said about gif yet here are

WeLoveCastingSpellz ,

no

RandysGut ,
@RandysGut@lemmy.world avatar

The same as in giraffes giving ginormous gifts

Wiz ,

So, it’s pronounced “jight”?

ohlaph ,

jean, we pronounce it jean.

Sorse ,
@Sorse@discuss.tchncs.de avatar

Yit

ramjambamalam ,

git gud

aeharding ,
@aeharding@lemmy.world avatar

git: ‘gud’ is not a git command. See ‘git --help’.

rekt

Adanisi ,
@Adanisi@lemmy.zip avatar

They should add that command, just to screw up this joke

uis ,

git help

Nalivai ,

<span style="color:#323232;">zsh: command not found: rekt
</span><span style="color:#323232;">
</span>
theFibonacciEffect ,

git rekt

gazter ,

As someone who knows that they know very little about git, this thread makes me think I’m not alone.

laurelraven ,

I think advanced git knowledge, like RegEx, is the exception, while the norm is to know the tiny handful of day to day useful bits

lhamil64 ,

How is regex git knowledge? I guess you can use regular expressions with git grep but it’s certainly not a git-oriented concept…

MrRazamataz ,
@MrRazamataz@lemmy.razbot.xyz avatar

what. that’s not what they said. they are comparing git knowledge to regex knowledge.

Astongt615 ,

Ah, thanks for the explanation. I too misunderstood the inflection.

MrRazamataz ,
@MrRazamataz@lemmy.razbot.xyz avatar

no worries

laurelraven ,

I don’t even know how to respond to this considering it has nothing to do with what I said…

survivalmachine ,

There are at least two ways to parse your statement, and they interpreted it differently from your intention.

laurelraven ,

I guess, if you ignore the comma…

magic_lobster_party ,

Could’ve written like this to avoid the ambiguity: “I think advanced git knowledge, just like RegEx, …”

lhamil64 ,

Rereading it, I now understand what you meant. I interpreted the “like regex” as an example of advanced git knowledge. I’m not sure the comma helps make it unambiguous though.

laurelraven ,

Yeah, reading it again and I can see that interpretation…

This is why you shouldn’t rely on yourself alone for proofreading your writing, I probably could have read that a hundred times and not seen another way to read it without someone else pointing it out

cows_are_underrated ,

Gut clone

Cwilliams ,

<span style="color:#323232;">cat ~/.bash_history </span><span style="font-weight:bold;color:#a71d5d;">| </span><span style="color:#323232;">grep </span><span style="color:#183691;">"gut add" </span><span style="font-weight:bold;color:#a71d5d;">| </span><span style="color:#323232;">wc -l
</span>

I’ve typed that more times than I thought…

dan ,
@dan@upvote.au avatar

alias gut=git

uis ,

echo alias gut=git >> ~/.bashrc

Paulemeister ,

git commit -am

uis , (edited )

You don’t just git to edit past commit

SomeBoyo ,

git blame is another good one

laurelraven ,

Yes, I think we all like to blame git

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines