frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Korea-data-MCP – Korean public APIs that agents can't misread

https://github.com/YoungsoonLee/korea-data-mcp
1•youngtip•10m ago•0 comments

Keeping the Bonfires Lit

https://www.historytoday.com/archive/out-margins/keeping-bonfires-lit
2•Petiver•15m ago•0 comments

Show HN: Freewheel – Ride a bicycle through the streets of Guwahati

https://noworklabs.com/freewheel
2•the____outcast•16m ago•1 comments

Show HN: ZyVOP – Git Push to Publish on Dev.to, Hashnode, Medium and WordPress

https://zyvop.com/
1•sanjays442•17m ago•0 comments

Trojanized Claude Code Extension Plants an SSH Backdoor

https://opensourcemalware.com/blog/trojanized-claude-code-extension-plants-persistent-ssh-backdoor
2•elffjs•19m ago•0 comments

Europe Is Aflame, and It's Not Going to Stop

https://www.nytimes.com/2026/10/29/opinion/europe-protests-youth-france.html
1•TMWNN•21m ago•0 comments

Show HN: Gates – My attempt to end free-trial abuse through email aliases

https://github.com/IrondomeDev/GATES
2•YPANDAR•23m ago•1 comments

Seychelles has 58,396 IPv4 addresses per 1000 people, the most per capita

https://en.wikipedia.org/wiki/List_of_countries_by_IPv4_address_allocation
1•jjmarr•23m ago•1 comments

A Claude Code agent's test escaped into my Mac. I only noticed because it talked

https://www.marutpandya.com/posts/2026/10/my-mac-started-reading-json-aloud/
6•mwiki•23m ago•2 comments

Who needs VMs? Run systemd and full Linux desktop apps in gVisor

https://gvisor.dev/blog/2026/09/17/systemd-in-gvisor/
2•philips•23m ago•0 comments

Is the new Siri perceptibly slowing down iOS?

1•rajay99•24m ago•0 comments

US Is Behind Serbia's "Student List", N1 and Nova S (United Group) [video]

https://www.youtube.com/watch?v=J5lwZU7Q5U0
2•secondary_op•33m ago•0 comments

Radio-in-a-box: Self-hosted internet radio with Icecast, Liquidsoap and Rust CLI

https://github.com/skorotkiewicz/radio-in-a-box
2•modinfo•33m ago•0 comments

The case of a customer who said that all they could see was a black screen

https://devblogs.microsoft.com/oldnewthing/20261029-00/?p=112808/
2•soheilpro•36m ago•0 comments

What is work for? Human wellbeing and the value of work in the AGI era

https://institute.deepmind.com/essays/what-is-work-for-human-wellbeing-and-the-value-of-work-in-t...
2•Klaster_1•38m ago•0 comments

Curl was accidentally Turing-complete for nine months

https://seriot.ch/computation/curl.html
3•beefburger•40m ago•0 comments

Qwenputer turns Gated DeltaNet state into exact RAM for a CPU

https://theainewsreport.com/2026-10-29-qwenputer-deltanet-state-as-exact-ram-explained.html
1•titusblair•41m ago•0 comments

What Claude Code's 30-second agent summary call costs, read from the binary

https://theainewsreport.com/2026-10-29-claude-code-agent-summary-cost-explained.html
1•titusblair•41m ago•0 comments

You can know a person's device type on Twitter if the post has these parameters

https://twitter.com/youhatefive/status/2115847903696527589
3•thunderbong•50m ago•0 comments

A 72-Hour Engineering Sprint for Translating Thought to Speech

https://neuralink.com/updates/72-hour-voice-hackathon/
1•Exoristos•54m ago•0 comments

FreeBSD-SA-26:52 – Missing WireGuard MAC Validation (CVE-2026-58085)

https://www.mail-archive.com/announce@freebsd.org/msg00286.html
2•offmycloud•55m ago•0 comments

C2PA's eMudhra Moment

https://www.da.vidbuchanan.co.uk/blog/c2pa-four.html
1•swq115•56m ago•0 comments

The reports of Stack Overflow's death are greatly exaggerated

https://stackoverflow.blog/2026/10/29/the-reports-of-stack-overflow-s-death-are-greatly-exaggerated/
3•cher-nov•1h ago•0 comments

Show HN: DistractFree-Chrome extension and web app to stop doomscrolling

https://distractfree.site/
1•ramthokane•1h ago•0 comments

Any HN folks with undiagnosed diseases?

1•Madmallard•1h ago•2 comments

Show HN: Breatic – Collaborative canvases and documents with an AI agent

https://github.com/orime-org/breatic
2•Ubiquition•1h ago•0 comments

Torturing Jev

https://www.jonathanchiang.ca/blog/jev.html
2•szge•1h ago•0 comments

Chez Scheme from a Clojurian Perspective

https://get-aksh.com/blog/chez-from-a-clojurian-perspective
2•pushpankar•1h ago•0 comments

Dvorak with QWERTY's Brackets on KDE Plasma (Wayland)

https://blog.jacq.cc/guides/dvorak-qwerty-brackets-kde-wayland/
2•xx__yy•1h ago•0 comments

Nibnib: Image compression with extreme decompression speed

https://github.com/raphlinus/nibnib
1•raphlinus•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".