frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Solo – a .so loader for static Linux binaries

https://github.com/pg83/solo
1•zX41ZdbW•3m ago•0 comments

Have an Agent Babysit Your Deployments

https://blog.exe.dev/athena-deploys-exe
1•indigodaddy•8m ago•0 comments

Mastodon 5.0: Laying the Foundation

https://blog.joinmastodon.org/2026/08/5.0-laying-the-foundation/
2•dredmorbius•10m ago•0 comments

Made a Lightweight Markdown Reader

https://www.thesis.do/galley
2•jessiesalas•12m ago•0 comments

Sci-Fi Author Jeffrey A Carver Passed Away

https://sfwa.org/2026/05/09/in-memoriam-jeffrey-a-carver/
1•unnamed76ri•12m ago•0 comments

Minimal Zlang bytecode runtime booting in a bare-metal x86_64 kernel

https://github.com/high-cde/ZDOS/tree/main/os/x86_64
1•High-cde•14m ago•0 comments

The Mullet Stack: Syncing Types Between FastAPI/Pydantic and TypeScript

https://seanhelvey.com/mullet-stack/guide/
1•Lambda11•24m ago•0 comments

Soaring Diesel Prices Rip Across US Economy

https://www.ft.com/content/8a5cd515-191d-42f9-9b0c-1b817a1bc044
3•karakoram•24m ago•1 comments

Selective Applicative Functors

https://blog.veritates.love/selective-applicatives-theoretical-basis
2•birdculture•27m ago•0 comments

Running Ultrix 4.5 (2019)

https://astr0baby.wordpress.com/2019/03/16/running-vax-ultrix-4-5-on-simh/
1•walrus01•27m ago•0 comments

The 400-Ton Linchpin of American Electrical Power

https://www.nytimes.com/interactive/2026/08/17/magazine/transformers-power-electric-grid.html
2•jdnier•29m ago•0 comments

Children with More Screen Time Score Better on Cognitive Tests, Not Worse

https://www.inc.com/lucia-auerbach/children-with-more-screen-time-did-not-score-worse-on-cognitiv...
1•MitPitt•29m ago•0 comments

Cursor capitalizes on GitHub frustration, launches rival hosting platform

https://techcrunch.com/2026/08/18/cursor-capitalizes-on-github-frustration-launches-rival-hosting...
3•jnord•31m ago•1 comments

Stanford's deterministic CUDA kernel verifier

https://2026.splashcon.org/details/oopsla-2026/96/Equivalence-Checking-of-ML-GPU-Kernels
2•ggboimoney•32m ago•1 comments

Spot X with Bluetooth

https://www.rei.com/product/172306/spot-x-with-bluetooth
1•Bondi_Blue•33m ago•0 comments

Inference Engineering by Philip Kiely – Digital Download

https://www.baseten.co/inference-engineering/
1•ajhai•33m ago•0 comments

An inside look at Hetzner's Datacenters [video]

https://www.youtube.com/watch?v=MQeJYEN_lrg
1•lwhsiao•35m ago•0 comments

Ask HN: How should I price an AI infrastructure platform?

1•aqibkhan026•36m ago•0 comments

Unitree Robotics IPO: "Embodied AI" Valuation Bubble?

https://www.cnn.com/2026/08/18/tech/china-unitree-ipo-intl-hnk
2•dvk13•37m ago•0 comments

Software Engineering Humble Book Bundle

https://www.humblebundle.com/books/software-engineering-manning-books
2•teleforce•37m ago•1 comments

Show HN: Particle – Extract and save articles in a clean, self-hosted reader

https://particle.crnst8.com/try/
2•flowerpil•41m ago•0 comments

Phoenix Species Project Announces Funds for Imperiled Wildlife

https://www.nytimes.com/2026/08/04/climate/phoenix-species-project-bezos-dicaprio-rewild.html
1•gmays•41m ago•0 comments

Pointer Chasing in Modern Systems: Why it hurts, When it helps

https://sourav-k-paul.medium.com/pointer-chasing-in-modern-systems-why-it-hurts-when-it-helps-and...
1•compiler-guy•42m ago•0 comments

Lying in Therapy

https://proud2bme.substack.com/p/lying-in-therapy
6•mohmdsad•43m ago•3 comments

Show HN: ResumeSkip – automatically tailor your resume to jobs

https://resumeskip.com/
2•ghosts_•46m ago•0 comments

My AI Agents Ship Code While I Sleep. Nobody Reviews It

https://goatsquadstudios.com/blog/how-i-work-with-ai-agents-autonomously
3•csgod•49m ago•0 comments

Building in the Cloud with Codex, Safely

https://www.ivan.codes/blog/building-in-the-cloud-with-codex
4•deeshee•50m ago•0 comments

Too much Chinese science is ignored by the West

https://www.economist.com/science-and-technology/2026/06/10/too-much-chinese-science-is-ignored-b...
2•ViktorRay•52m ago•1 comments

Show HN: Maritime, a platform for running AI agents for $1 a month

https://maritime.sh
4•mariagorskikh1•53m ago•0 comments

Threepp: Cross-platform C++20 3D library with the high-level API of Three.js

https://github.com/markaren/threepp
2•klaussilveira•53m 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•1y ago

Comments

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

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

to:

  git sync "descriptive name"
horsawlarway•1y 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•1y 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•1y 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•1y ago
That sounds better but I like the granularity I get from scrutinizing specific files or the patch takes too long to review.
speff•1y 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•1y 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•1y 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•1y ago
Maybe not essential, but reflog is invaluable.

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

foobarkey•1y ago
Remove merge and add rebase and we agree :)

Oh and maybe cherry-pick

seba_dos1•1y ago
Both are essential.
realaleris149•1y ago
There are other commands?
incomplete•1y 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•1y ago
i can't take this seriously if there's no mention of the '--amend' option and 'rebase' command
OutOfHere•1y ago
It missed "git switch" and "git restore".