frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Hermes.md in Git commit messages causes requests to route to extra usage billing

https://github.com/anthropics/claude-code/issues/53262
1•adunk•4m ago•0 comments

Show HN: Bulk URL Checker – check 75k URLs from any LLM via MCP

https://bulkurlchecker.com
1•carlosofscience•5m ago•0 comments

The Lunar Gateway's primary modules are corroded

https://arstechnica.com/space/2026/04/well-this-is-embarrassing-the-lunar-gateways-primary-module...
1•simonebrunozzi•5m ago•0 comments

Greenfield and Iterative deployment – By superpowers creator

https://primeradiant.com/blog/2026/greenfield-and-iterative-development.html
1•sorcercode•7m ago•0 comments

Show HN: I benchmarked how good LLMs are at proofreading English

https://github.com/reviseio/errata-bench
1•artursapek•9m ago•0 comments

Turkey to Ban Anonymous VPNs

https://reclaimthenet.org/turkey-to-ban-anonymous-vpns
1•Cider9986•9m ago•0 comments

Show HN: Read and Echo – Turn any text into structured language practice

2•jondones•13m ago•0 comments

Paperclip – a ticket-based multi AI agent orchestrator

https://github.com/paperclipai/paperclip
1•Flundstrom2•14m ago•0 comments

Three Constraints Before I Build Anything

https://jordanlord.co.uk/blog/3-constraints/
1•nervous_north•15m ago•0 comments

Observational constraints project a ~50% AMOC weakening by end of this century

https://www.science.org/doi/10.1126/sciadv.adx4298
1•geox•16m ago•0 comments

Today's harness is Tomorrow's Prompt

https://tanay.co.in/blog/todays-harness-is-tomorrows-prompt
2•tangoalpha•18m ago•0 comments

Show HN: Mdspec – auto sync your md files from GitHub repos with wikis

https://mdspec.dev
2•zameermfm•18m ago•0 comments

Show HN: Get an Ethereum wallet for your agent with one API call, no OAuth

https://aethergent.com
2•AgentNews•20m ago•1 comments

A Common Diabetes Drug May Hold the Key to Stopping HIV from Coming Back

https://scitechdaily.com/a-common-diabetes-drug-may-hold-the-key-to-stopping-hiv-from-coming-back/
3•01-_-•23m ago•1 comments

Different Perspectives of Memory System Simulation

https://arxiv.org/abs/2604.16965
2•matt_d•25m ago•0 comments

Are We in Control of AI?

https://members.sigmazero.cc/posts/are-we-in-of-ai-156344301
2•sigmazero•25m ago•0 comments

Claude Web UI is down

https://claude.ai/recents
4•zkmon•26m ago•2 comments

AI agents that argue with each other to improve decisions

https://github.com/rockcat/HATS
2•rockcat12•26m ago•0 comments

US says it's hunting for explosive mines in latest push to open Hormuz

https://apnews.com/article/iran-war-strait-hormuz-minesweeping-navy-underwater-edef3201f6e227c4b5...
2•m_nathan•26m ago•1 comments

Hypertalking

https://www.hypertalking.com/
4•doener•29m ago•0 comments

Govee's new rechargeable table lamp is less than half the price of Hue's

https://www.theverge.com/tech/915959/govee-table-smart-lamp-classic-battery-rechargeable-matter-p...
2•01-_-•30m ago•0 comments

California Coastal Community Must Reject CBP's AI-Powered Surveillance Tower

https://www.eff.org/deeplinks/2026/04/california-coastal-community-must-reject-cbps-ai-powered-su...
3•Brajeshwar•30m ago•0 comments

The Quiet Resurgence of RF Engineering

https://atempleton.bearblog.dev/quiet-resurgence-of-rf-engineering/
2•merlinq•30m ago•0 comments

Last Rounds? Status of Key Munitions at the Iran War Ceasefire

https://www.csis.org/analysis/last-rounds-status-key-munitions-iran-war-ceasefire
2•Teever•31m ago•0 comments

Show HN: Quay – Menu-bar Git sync

https://code.sailorslog.io/quay
3•sailingcode•32m ago•0 comments

Show HN: MockHop – capture and annotate web pages on macOS

https://bendansby.com/apps/mockhop.html
2•webwielder2•34m ago•0 comments

Earliest octopuses were giant top predators in Cretaceous oceans

https://www.science.org/doi/10.1126/science.aea6285
3•marojejian•34m ago•1 comments

Vorim.ai, Identity and trust layer for AI agents

https://vorim.ai/
2•kwamzino007•35m ago•0 comments

Anthropic: How we built our multi-agent research system

https://www.anthropic.com/engineering/multi-agent-research-system
2•theorchid•37m ago•0 comments

This To That: Because people have a need to glue things to other things

https://www.thistothat.com/
2•mhb•39m ago•0 comments
Open in hackernews

Git Commands That Cover 90% of a Developer's Daily Workflow

https://jsdev.space/15-git-commands/
29•javatuts•11mo ago

Comments

epmatsw•11mo ago
restore and maybe switch are the two missing ones I think. Rebase for me, but that’s preference. Cherry-pick too.
rentonl•11mo ago
my co-workers used to think I was an expert in git. In reality, they memorized 7 commands while I memorized 15
hbogert•11mo ago
i memorized that a commit tree is a ordered set of patches. Everything goes from there.
Areibman•11mo ago
In similar fashion, this site has saved me countless hours fixing common git issues https://ohshitgit.com
the__alchemist•11mo ago
I need to alias:

  git add .
  git commit -am "descriptive name"
  git push

to:

  git sync "descriptive name"
horsawlarway•11mo ago
personally - skip the 'git add .'

It's a pretty terrible habit to get into, and will (not can - will) cause all sorts of headaches. From minor ones like personal editor configs getting dumped into the projects, all the way up to major ones like secrets ending up in your git history.

If you want something close, but much better, do something like:

    if [[ -n $(git ls-files --others --exclude-standard) ]]; then
        echo "There are untracked files.  Please add, remove, or ignore them."
    else
        git commit -am "descriptive name"
        git push
    fi
the__alchemist•11mo ago
I see your point, but find it worth it for convenience. Ultimately git is a tool I use to get the job done, and I want it out of the way. 99% of the time, I just want to sync my project, which doesn't only mean edits to existing files.
open-paren•11mo ago
How about `git add --patch -all` to make it interactive? I have that aliased to `gap` and it is probably my most used git command.
cholantesh•11mo ago
That sounds better but I like the granularity I get from scrutinizing specific files or the patch takes too long to review.
speff•11mo ago
I'd like to suggest also mentioning `git add -p` (--prompt). It's very helpful for just adding changes relevant to the commit
nickcw•11mo ago
No `git rebase`?

Here are my stats for my last 300 or so git commands from my history

    $ history | grep git | awk '{print $3}' | sort | uniq -c | sort -rn

     71 log
     44 show
     34 diff
     26 co # alias for checkout
     24 cherry-pick
     23 status
     18 brs # alias for branch -v --sort=-committerdate
     13 rebase
     11 commit
     11 add
      8 push
      4 archive
      3 reset
      2 pull
      1 grep
      1 checkout
      1 br
Been doing lots of tricky merges recently hence all the cherry-picks! Not normally such a large part of my workflow.
mercer•11mo ago
For me, I generally don't go far beyond the commands in the article, but I /do/ make a lot of use of git rebase -i in my branches.
karmakaze•11mo ago
Maybe not essential, but reflog is invaluable.

I also like to separate fetch from pull (fetch + merge).

foobarkey•11mo ago
Remove merge and add rebase and we agree :)

Oh and maybe cherry-pick

seba_dos1•11mo ago
Both are essential.
realaleris149•11mo ago
There are other commands?
incomplete•11mo ago
also gonna echo the same sentiment: where's rebase? :)

two other git log commands i find to be insanely useful are:

alias hlog='git log --date-order --graph --date=short --format="%C(green)%h%Creset %C(yellow)%an%Creset %C(blue bold)%ad%Creset %C(red bold)%d%Creset%s"'

and:

alias alog='git log --date-order --all --graph --date=short --format="%C(green)%h%Creset %C(yellow)%an%Creset %C(blue bold)%ad%Creset %C(red bold)%d%Creset%s"'

this is great when working in a repo w/a main "prod" branch that you don't commit to directly, but instead commit to "staging" or "dev". alog shows you the entire repo's history for all branches, and hlog is just the graph of the non-pushable branches (plus all feature branches).

hbogert•11mo ago
i can't take this seriously if there's no mention of the '--amend' option and 'rebase' command
OutOfHere•11mo ago
It missed "git switch" and "git restore".