Fork me on GitHub

Is it possible to use git diff /path/to/directory? I tried it on macOSX from the terminal but it just says "Not a git directory". If I cd into the directory it's fine.

Alex Miller (Clojure team)14:01:21

there’s a property you can set for the git dir to use

Alex Miller (Clojure team)14:01:16

that points to the .git dir, and also there’s --work-tree=

Alex Miller (Clojure team)14:01:11

with some combination of those, you can use git commands from other directories


Thank you @alexmiller works now, time to create a tool for analyzing some dependencies .. 😄


you can use git -C /path/to/directory to make git act as if it was started in that directory

👍 15
Lennart Buit21:01:55

MacOS: how do I show dotfiles in finder, I broke my .zshrc and now I can’t edit it anymore in zsh…

Lennart Buit21:01:24

Ah fixed it, breaking your shell is no fun…


Any suggestions on a good distro for my new laptop, I am used to ubuntu, but want one that has a good balance of a decent ui and not too much setup required. I spend most of my time in a console/browser/emacs anyway.


If you are comfortable in a shell then I highly recommend Arch Linux. It allows a ton of configuration, but doesn't force you to manually go through it like the hardcore distros of yore. The AUR is indispensable.


i've been very happy with fedora. it is wayland based so sometimes have an issue with sharing entire desktop in video but otherwise it is rock solid, easy, and fresh

👀 5

I installed Pop OS recently, it was fairly painless

✔️ 5

The only bits I had to fiddle with were enabling TRIM on LUKS and making it sleep properly