frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Post Peek – Litterbox-Inspired Tweet Viewing Extension for Chrome

https://daringfireball.net/linked/2026/09/12/post-peek
1•JumpCrisscross•1m ago•0 comments

Artor.app – Deploy prototypes and have Figma-style comments directly on them

https://artor.app
1•AleSch•1m ago•0 comments

Is China's growth model bad for its own people?

https://www.chat-gdp.org/p/is-chinas-growth-model-bad-for-its
1•alphabetatango•1m ago•0 comments

Litterbox: XCancel for iOS and Mac

https://andadinosaur.com/launch-litterbox
1•JumpCrisscross•2m ago•0 comments

Component Hashes in SBOMs

https://worklifenotes.com/2026/09/14/component-hashes-in-sboms/
1•taleodor•4m ago•0 comments

Claude Code Over 6k issues labeled with has repro have been auto-closed

https://github.com/anthropics/claude-code/issues/87647
4•antropic13224ad•7m ago•0 comments

Sportacus

https://en.wikipedia.org/wiki/Sportacus
2•softwaredoug•7m ago•0 comments

A list of 1,325 AI assisted repositories, mined from GitHub

https://github.com/ActuallyTaylor/strata/blob/main/paper/data/large/datasets/ai-assisted-reposito...
3•ActuallyTaylor•8m ago•0 comments

Can a regex match valid credit card numbers?

https://abstractnonsense.xyz/blog/2025-08-31-can-a-regex-match-valid-card-numbers/
1•fanf2•8m ago•0 comments

'Project Lily': The Humans Reading Your ChatGPT Chats

https://www.404media.co/inside-project-lily-the-humans-reading-your-chatgpt-chats/
2•2sf5•8m ago•0 comments

RubyGems Open Source Supply Chain Security and OpenAI

https://rietta.com/blog/rubygems-supply-chain-openai/
3•rietta•11m ago•0 comments

Show HN: What an agent does when anyone can read and rewrite its context

https://ljedrz.github.io/nachalnik/
2•ljedrz•12m ago•0 comments

Qwen 3.8 Flash via DwarfStar

https://twitter.com/antirez/status/2099487927793299936
2•hmokiguess•12m ago•0 comments

Jabber/XMPP: How Do We Gain Traction?

https://gultsch.de/posts/how-do-we-gain-traction/
5•inputmice•12m ago•0 comments

1,000+ shoes reviewed and cut in half

https://runrepeat.com
2•bushwart•12m ago•0 comments

More Money Than They Ever Imagined–and No Clue How to Spend It

https://www.wsj.com/tech/ai/ai-tech-anthropic-openai-ipo-0a9da59e
1•Jimmc414•13m ago•1 comments

Cheap high brand (armani,Nike,Jordan etc.)

https://cheapmarketprices.com/
1•ilaysyou•13m ago•0 comments

Buy Intel, It's Cheap

3•roschdal•14m ago•0 comments

Show HN: Voice Rater – in-browser voice analysis (jitter, CPPS, formants)

https://voice-rater.com/
2•hacksu•14m ago•0 comments

Borrow Checking, RC, GC, and the Eleven Other Memory Safety Approaches (2024)

https://verdagon.dev/grimoire/grimoire
2•Tomte•14m ago•0 comments

With dead oysters and debt, PEI farmers fear they'll lose everything

https://www.cbc.ca/radio/thecurrent/oyster-farmers-msx-dermo-9.7337251
2•JumpCrisscross•15m ago•0 comments

Ars Magna (Cardano Book)

https://en.wikipedia.org/wiki/Ars_Magna_(Cardano_book)
1•vismit2000•15m ago•0 comments

Oslo bans smart glasses in schools

https://www.thelocal.no/20260910/oslo-bans-smart-glasses-in-schools
3•bushwart•16m ago•0 comments

Removing algorithmic feed slop from my life

https://bell.bz/removing-algorithmic-feed-slop-from-my-life/
2•speckx•16m ago•0 comments

Dynamicz

https://opentofu.org/blog/opentofu-1-12-0/
1•starlightsmovem•17m ago•0 comments

A rough guide for going back to the Moon

https://research.ibm.com/blog/nasa-ibm-lunar-foundation-model
2•gmays•17m ago•0 comments

The Only Crypto Story You Need, by Matt Levine (2022)

https://www.bloomberg.com/features/2022-the-crypto-story/
1•Tomte•19m ago•0 comments

Two Wrong Answers, One Exact Solution: The Arithmetic Method Schools Forgot

https://valeman.medium.com/two-wrong-answers-one-exact-solution-the-arithmetic-method-schools-for...
2•ibobev•20m ago•0 comments

Show HN: PHP-fts 2.0 – Pure-PHP full-text search, now in 26 writing systems

https://github.com/olivier-ls/php-fts/releases/tag/v2.0.0
1•asmodios•20m ago•0 comments

Most people prefer traditional architecture

https://www.worksinprogress.news/p/do-people-prefer-traditional-architecture
2•alihm•20m 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".