frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Paywall-Free News Aggregator

https://freepress.today/
1•niraj-agarwal•3m ago•1 comments

Show HN: a Rust, Wayland, Vulkan 3D CRT, screencast application, retroarch cores

https://github.com/andrewfader/crtulum
1•androsynth89•11m ago•0 comments

India cuts internet, then demands removal of bitchat's code

https://korben.info/en/india-cuts-internet-demands-removal-bitchat-code.html
2•sakumen•15m ago•1 comments

Improving Terminal Ergonomics

https://aiex7.github.io/blog/articles/improving-terminal-ergonomics/
1•harr01•15m ago•0 comments

Why Lean is faster than Rust

https://kim-em.github.io/blog/2026-7-24-why-lean-is-faster-than-rust/
1•replatformradar•16m ago•0 comments

Renaissance Man: imago ex machina

https://github.com/willswire/renaissance-man
1•willswire•21m ago•0 comments

Genvap – Turn a screen recording into a cinematic app showcase video

https://genvap.com/
1•equinnt•25m ago•1 comments

What breaks in production AI workflows?

https://www.indiehackers.com/post/weve-reproduced-30-real-ai-runtime-failures-over-the-past-week-...
2•doodlebyte•26m ago•0 comments

Show HN: Static MCP – publish MCP tools as static files, run them sandboxed

https://github.com/MauricioPerera/mcpwasm
1•rckflr•30m ago•0 comments

I got tired of deleting tracking parameters from URLs

1•hexcode_•30m ago•0 comments

Can uBlock Origin Block WebRTC?

https://www.justus.pw/posts/2026-07-27-can-ublock-origin-block-webrtc.html
1•justusw•36m ago•2 comments

Buzz: where humans and agents work together

https://block.xyz/inside/introducing-buzz-where-humans-and-agents-work-together
1•foruhar•37m ago•0 comments

Buzz from Block: where humans and agents work together

https://buzz.xyz
2•foruhar•38m ago•0 comments

'Skynet Day' is now shorthand for OpenAI's agent going rogue

https://fortune.com/2026/07/26/james-cameron-terminator-skynet-day-openai-ai-agent-hack-hugging-f...
2•CharlesW•41m ago•0 comments

Voice Orchestration Benchmarks

https://benchmarks.cekura.ai
1•tash_2s•41m ago•0 comments

Show HN: Rogg – I built a Rust BGP speaker and run a live AS on DN42

https://github.com/roggnetwork/rogg
2•stockkid•43m ago•1 comments

Universe Splitter

https://www.aerfish.com/universe-splitter
3•e-dant•51m ago•0 comments

Dataland

https://www.wallpaper.com/art/exhibitions-shows/dataland-the-museum-of-ai-arts-los-angeles-review
1•andsoitis•51m ago•0 comments

Making Referential Stability a Type

https://jovidecroock.com/blog/referential-stability-types/
2•acmnrs•52m ago•0 comments

Show HN: I built a static verifier for OpenCode to stop unsafe AI tool calls

https://github.com/albertjoseph0/opencode-plugin-guardians
1•abj908•53m ago•0 comments

(Life) Advice From The Creator of C++ [video]

https://www.youtube.com/watch?v=-QxI-RP6-HM
1•amarbirsingh•53m ago•0 comments

The Economics of Responsibility

https://abacus2007ac1.io/blog/20260727-economics_of_responsibility/
1•weakened_malloc•56m ago•0 comments

3blue1brown: How a Mandelbrot set arises from Newton's work

https://www.3blue1brown.com/?topic=fractals&lesson=holomorphic-dynamics
1•ninju•59m ago•0 comments

The Rise of the Deserving Rich

https://www.economist.com/finance-and-economics/2026/07/23/the-rise-of-the-deserving-rich
1•Jiahang•1h ago•0 comments

Show HN: Taetype 1.0 – decode, subset, shape, rasterize fonts, zero unsafe

https://github.com/silly-tae/taetype
1•silly-tae•1h ago•0 comments

How Dubai, New York, Paris and Shenzhen are building their flying-taxi networks

https://monocle.com/business/transport/which-cities-flying-taxis-companies/
1•andsoitis•1h ago•0 comments

Modeling Facts and Reactions with Domain Events

https://deniskyashif.com/2026/07/25/modeling-facts-and-reactions-with-domain-events/
2•thunderbong•1h ago•0 comments

Show HN: Neubook – An ePub reader with reading focus features

https://neubook.app/
1•bibin765•1h ago•0 comments

The old-school way of keeping the summer heat out of your home

https://monocle.com/design/architecture/keeping-your-home-cool-without-air-conditioning/
3•andsoitis•1h ago•4 comments

The 3F Bell Designer

https://msp.ucsd.edu/ideas/2020.06.05.bell-designer/README.htm
1•jruohonen•1h 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".