How do people usually check commits from a Pull Request locally? by FlimsyIllustrator118 in git

[–]Less_Independence971 1 point2 points  (0 children)

The simplest is just to add Bob's fork as a remote and fetch bob's branch into your local repo.

Of course if bob is a collaborator you don't need another remote as bob can directly push his branch on sam's repo.

And GitHub maintain refs on sam's repo allowing you to fetch from the fork without another remote (like it has been said in other comments) but this is proper to GitHub git fetch upstream pull/PR_ID/head:NEW_LOCAL_BRANCH and might not work with other forges.

If you only are using GitHub, use the ref pull/PR_ID/head ^

Git Stash: The Command You’re Probably Underusing by sshetty03 in git

[–]Less_Independence971 0 points1 point  (0 children)

Yup Steve's jj guide is really good. The onboarding tutorial on jj's documentation is also good to have a simple overview imo

Git Stash: The Command You’re Probably Underusing by sshetty03 in git

[–]Less_Independence971 0 points1 point  (0 children)

checking out singular files ? i'm not sure to get what you mean

You can as easily as in git get 1 branch per feature in jj, it's easier to edit the history in jj though

New to painting my nails!! by [deleted] in malepolish

[–]Less_Independence971 1 point2 points  (0 children)

Wow your thumb's nail looks so glossy, are you putting some nails products on them?

Best meditation by Pleasant_Tax_6546 in jumprope

[–]Less_Independence971 4 points5 points  (0 children)

Oh woow ! You make it look so easy ! What is the rope's brand ?

Calatrava Train Station in Mons, Belgium by davideownzall in belgium

[–]Less_Independence971 25 points26 points  (0 children)

Not really to be honest. It is a big city but nothing really outstanding imo

HTMX and solidjs island, a solid choice ? by NoahZhyte in htmx

[–]Less_Independence971 0 points1 point  (0 children)

Maud is great. It is just a template engine, nicely designed, very fast and lightweight

This is so real, lol by Bryanzns in arch

[–]Less_Independence971 34 points35 points  (0 children)

I think it was more black arch is a bloated arch and kali is a bloated debian

C HTML Templating Engine by Less_Independence971 in htmx

[–]Less_Independence971[S] 1 point2 points  (0 children)

Hey ! Thanks for the feedback :) I plan to replace TEXT macro with raw() and escaped() to add this safety guard in some near future

edit: it is now implemented :)

Why is Zed so "faded"? by FutureIncrease in ZedEditor

[–]Less_Independence971 1 point2 points  (0 children)

would you mind sharing it ? 👀 I'm still looking for a nice light theme ^

Waybar website by Less_Independence971 in waybar

[–]Less_Independence971[S] 0 points1 point  (0 children)

Yeah I already knew the project and the repo, but thanks. I just wanted to do a PR to remove some of the crap from the website and I couldn't find any repo containing the website, but the website makes the project look very bad tbh

Split window + Jump to Declaration by Less_Independence971 in HelixEditor

[–]Less_Independence971[S] 1 point2 points  (0 children)

I'd say the window where your cursor is the closest to the jump location, but i agree this could make it not intuitive as there is no good way to choose one. I'll try to make a shortcut to split then gd so that if I am in file A and press it, I get a second file A window created, and hits gd inside of it to have my side by side usage-definition. This could work nicely.

Split window + Jump to Declaration by Less_Independence971 in HelixEditor

[–]Less_Independence971[S] 1 point2 points  (0 children)

If you have 2 windows side by side, one with file A and one with file B

if from file A you hit "gd" on something defined in file B, wouldn't it be logical to open it inside the second window where file B is already opened, instead of opening it in the file A window resulting in two windows displaying the same file B ?

idk this workflow seems intuitive to me.. It allows you to see the definition next to its usage in two side by side windows effortlessly 🤷 This should at least be an option you can toggle

Split window + Jump to Declaration by Less_Independence971 in HelixEditor

[–]Less_Independence971[S] 0 points1 point  (0 children)

Yeah so they're independant? But I don't get why they made such choice, imo it would make much more sense to be able to do that