Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fphilipe
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
fphilipe
2mo ago
I was using my usual stacked PR approach without the CLI and it detected the stack. So I think the CLI just does the heavy lifting for you (although I prefer to stick to vanilla git rather than learning a new tool).
2.
▲
by
fphilipe
2mo ago
I use the colon as EDITOR with Git when I want to do an interactive rebase combined with auto squash without having to edit the todo list. I have an alias[1] for that which I call a quick interactive rebase: riq = -c sequence.editor=:
3.
▲
by
fphilipe
2mo ago
This is what has been frustrating me most lately. Even though I have a rule in my global CLAUDE.md that says: > Only write comments to explain the why when it is not obvious from the code (rationale, gotchas, constraints). Do not comme
4.
▲
by
fphilipe
4mo ago
At that point you might as well use a worktree[1]. [1]: https://git-scm.com/docs/git-worktree
5.
▲
by
fphilipe
4mo ago
These pages do look good. But they all just look the same. And I'm getting bored of them. I open such a page and I immediately know it was Claude that produced it (probably end-to-end). Not that there's anything wrong with that, b
6.
▲
by
fphilipe
4mo ago
I wonder the same. The answer I usually get from people who do manage is that they don't look at the code – or at least not in detail. Personally, I always end up tweaking something the agent produced. I wonder if I should let go of th
7.
▲
by
fphilipe
4mo ago
It features the current date and time with seconds, so it must be rendered on the fly.
8.
▲
by
fphilipe
5mo ago
Sure, that's possible. I can also use the GitHub app and use a Git abstraction where I don't have to understand Git at all. The point is that I want to use Git, a tool and skill that is portable to other platforms.
9.
▲
by
fphilipe
5mo ago
My git config for pushing is set to push.default=current. For rebased stacks I have an alias that does this: git --config push.default=matching push --force-with-lease --force-if-includes In other words, I force push all branches t
10.
▲
by
fphilipe
5mo ago
I've been doing stacked PRs for ~2 years now. Thus, I don't quite see the need for this CLI. Git has had some additions in the last few years that make this work natively – specifically the --update-refs flag[1] or the rebase.upda
11.
▲
by
fphilipe
7mo ago
I have a global setting for that. Whenever I work in a repo that deviates from that I override it locally. I have a few other aliases that rely on the default branch, such as “switch to the default branch”. So I usually notice it quite quic
12.
▲
by
fphilipe
7mo ago
Here's my take on the one-liner that I use via a `git tidy` alias[1]. A few points: * It ensures the default branch is not deleted (main, master) * It does not touch the current branch * It does not touch the branch in a different work
13.
▲
Hierarchy view now available in GitHub Projects
(github.blog)
1 points
by
fphilipe
8mo ago
|
1 comments
14.
▲
by
fphilipe
11mo ago
I'm of the opinion that Git hooks are personal. That's why they're not part of the source code itself. I make extensive use of hooks, but they're tailored to my needs. Note that you can skip hooks by passing the --no-ver
15.
▲
by
fphilipe
1y ago
In addition to making the link look shady, it adds considerable lag to opening the link. I'm using Finicky[1] on Mac to rewrite the URL by extracting the original URL from the query params[2]. 1: https://github.com/john
16.
▲
by
fphilipe
2y ago
Not wrong, but one thing I did not spot in all the great explanations related to HEAD is that @ is an alias for HEAD that is a lot easier to type.
17.
▲
Add a way to use webauthn without JavaScript
(github.com)
2 points
by
fphilipe
2y ago
|
0 comments
18.
▲
by
fphilipe
2y ago
I am definitely more in the changelog-as-a-file camp. From https://keepachangelog.com/ : > Using commit log diffs as changelogs is a bad idea: they're full of noise. Things like merge commits, commits with obscure ti
19.
▲
by
fphilipe
3y ago
https://phili.pe Did hit the front page a few times with some of my posts: - http://phili.pe/posts/postgresql-on-the-command-line/ - 4th on https://news.ycombinator.com/front?day=2015-1
20.
▲
Exclusive End Dates
(qedcode.com)
3 points
by
fphilipe
4y ago
|
1 comments
21.
▲
by
fphilipe
4y ago
If you never use those apps, you can also remove the executable flag with `chmod -x` and they won’t open anymore.
22.
▲
Git aliases supporting main and master
(phili.pe)
2 points
by
fphilipe
4y ago
|
0 comments
23.
▲
Grep one-liners as CI tasks
(phili.pe)
111 points
by
fphilipe
5y ago
|
34 comments
24.
▲
Grep one-liners as CI tasks
(phili.pe)
5 points
by
fphilipe
5y ago
|
0 comments
25.
▲
by
fphilipe
5y ago
The merge commit also includes the link to the PR when merged via the GitHub UI (or locally via `hub merge $PR_URL`).
26.
▲
by
fphilipe
5y ago
> Facebook aside you really see this across the board on almost any platform, that once the product reaches it's 1.0 stage, (where it is good, does what the users want it to do, and has realised its vision) it begins a process of gr
27.
▲
by
fphilipe
5y ago
Valora Digital | Senior iOS | Full-time | Zurich, Switzerland | ONSITE or REMOTE (CET +- 2h) Valora Digital[0] is the digital unit of Valora[1], a European retailer with 2700 stores across 5 countries. We are tackling interesting challenges
28.
▲
by
fphilipe
5y ago
I can highly recommend these tmux plugins that enhance the selection experience: - https://github.com/tmux-plugins/tmux-yank - https://github.com/tmux-plugins/tmux-open - https://github
29.
▲
by
fphilipe
6y ago
This is a skill I've noticed that many developers don't have, or don't have sufficiently. This lack manifests itself e.g. when I review a PR that removes feature XYZ. I do `rg xyz` and `fd xyz` to see if there's anythin
30.
▲
by
fphilipe
6y ago
Great anecdote posted here a few years ago: https://www.quora.com/Why-are-software-development-task-esti...
More ›