frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Zero Wire, a hub for investigating critical Internet vulnerabilities

https://blog.cloudflare.com/zero-wire/
1•882542F3884314B•30s ago•0 comments

American military unit which collects lines of thought has this technology

1•whiteangel1984•47s ago•0 comments

Astrology became a big bucks business in India

https://finshots.in/archive/how-astrology-became-a-big-bucks-business-in-india/
1•vismit2000•1m ago•0 comments

The Deadly 1.5-Mile Corridor That Shows the Fatal Flaw in America's Road Design

https://www.wsj.com/us-news/the-deadly-1-5-mile-corridor-that-shows-the-fatal-flaw-in-americas-ro...
1•gmays•3m ago•0 comments

How do you evaluate proxy reliability beyond speed tests?

https://hideproxy.io/
1•MeadowMayer•4m ago•0 comments

Gefs: A new file system built for Plan 9

https://orib.dev/gefs.html
2•vismit2000•5m ago•0 comments

Ruffle – Stable Releases, API, Text and Everything Else

https://ruffle.rs/blog/2026/11/04/stable-releases-and-everything-else
2•tigger0jk•7m ago•0 comments

Show HN: ADB dock a macOS menu bar app to wirelessly connect Android devices

https://github.com/tripathiamritansh/adbdock
1•thisisamri•11m ago•0 comments

Ask HN: AI Side/personal projects to improve hireability?

1•tayo42•12m ago•0 comments

Brand Triad – Desire · Thoughtfulness · Belonging

https://luxury-triad.surge.sh/
1•motohagiography•13m ago•1 comments

Greece has its own Pompeii: Thera buried Akrotiri in ash 17th-16th century BCE

https://www.smithsonianmag.com/history/greece-has-its-own-pompeii-and-the-ruins-tell-a-captivatin...
1•derbOac•17m ago•0 comments

Whose words are these? Testing agentic provenance

https://latentmirror.com/posts/the-verdict-layer-test/
1•latentmirror•29m ago•1 comments

Continual learning and 150KB timing models without backpropagation

https://buildcivilization.com/learner/results
3•marsargeadai•31m ago•0 comments

The Grid Protectors Program

https://openai.com/index/grid-protectors-program/
1•gnabgib•31m ago•0 comments

Running 17 Claude Code bots in a real company for $100/month

https://botsinproduction.com/blog/what-10-claude-code-bots-cost-per-month/
10•oi_ops•34m ago•3 comments

Comfy hackathon: open-source Higgsfield's platform

https://comfy.org/open-source-higgsfield/
2•gessha•37m ago•0 comments

A $300 Robot That Fetches a Ball and Brings It Back, All on Its Own

https://www.gadgetreview.com/a-300-robot-that-fetches-a-ball-and-brings-it-back-all-on-its-own
3•PicardManeuver•38m ago•0 comments

Is PostgreSQL Winning?

https://stokerpostgresql.blogspot.com/2026/11/is-postgresql-really-winning.html
1•Shorn•38m ago•1 comments

Coding Agents stop mid-task

https://foremerge.com/blog/coding-agents-stop-mid-task/
1•naw103•41m ago•1 comments

GDPX

https://gdpx.semianalysis.com/
2•_benx_•42m ago•0 comments

Show HN: Temp Email for Developers and Agents

https://tempmailboxes.com
1•oron•43m ago•1 comments

OpenAI is quietly renaming data centers 'compute campuses'

https://www.theverge.com/ai-artificial-intelligence/1025242/openai-quietly-renames-data-centers-a...
5•cdrnsf•44m ago•1 comments

Show HN: Pauseless – Free silence/filler-word remover from videos, on-browser

https://tahaygun.github.io/pauseless/
3•tahaygun•44m ago•0 comments

An excavator dig cycle in the browser, timed by oil flow instead of keyframes

https://animatedwebs.com/demos/kittredge-k35-excavator/index.html
2•nonerthy•45m ago•0 comments

Delaying Conflict Is Better Than Venting for Relationships

https://www.theatlantic.com/family/archive/2021/09/delaying-conflict-better-venting-relationships...
3•gmays•46m ago•0 comments

Library of Babel

https://libraryofbabel.app/
3•soheilpro•50m ago•4 comments

FBI Probes Autism Therapy Provider That Billed $30k a Day

https://www.wsj.com/us-news/law/fbi-probes-autism-therapy-provider-that-billed-30-000-a-day-cd1885ea
3•impish9208•51m ago•1 comments

TimeScore Weighted Scoring Algorithm

https://mckoss.com/posts/timescore/
1•mckoss•51m ago•1 comments

Our organizations are being DDoSed from the inside

https://karrisaarinen.com/posts/our-organizations-are-being-ddosed-from-the-inside/
1•mavelikara•52m ago•1 comments

Choice – Our 2026 Shonky Award winners revealed

https://www.choice.com.au/shonky-awards/hall-of-shame/shonkys-2026/our-2026-shonky-award-winners-...
1•anenefan•52m ago•1 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".