My Git Knowledge

sag@lemm.ee to Programmer Humor@programming.dev – 1082 points –
170

You are viewing a single comment

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

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

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)

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

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

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%

~$ cat ~/bin/gitedit
#!/bin/sh
exec /usr/bin/geany -i -s -t -c ~/.config/gitgeany $@

Then in git config: git config --global core.editor "gitedit"

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

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.

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.

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.

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

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.

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.

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