frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Ashareeri – Open-source civic, road and live radar map for Kerala

https://ashareeri.tinkeringdao.dev
2•tinkeringdao•1m ago•0 comments

Early Warning for Banks, Checked Against Their Own Numbers – Amiri Agent

https://medium.com/@sankeerthan.kasilingam/early-warning-for-banks-checked-against-their-own-numb...
1•sankeerthan•3m ago•0 comments

LangChain DevContainer

https://github.com/langchain-ai/langchain/tree/master/.devcontainer
1•jdmsal•5m ago•1 comments

Show HN: Figma rejected our plugin, so we open-sourced it

https://www.youtube.com/watch?v=0GuADEBqbYA
1•saccodd•5m ago•0 comments

Atlas finds hints of the hidden structure of the vacuum

https://phys.org/news/2026-11-atlas-hints-hidden-vacuum.html
2•rbanffy•5m ago•0 comments

Language Models Can Rewrite Their Own Weights

https://www.jiajunfan.com/projects/self-rewriting/
1•simonpure•8m ago•0 comments

Ask HN: Is anyone using Gemini Live (3.8) in scaled production

1•aenis•10m ago•0 comments

OpenAI counter-sues Apple over alleged theft of trade secrets

https://www.bbc.com/news/articles/cm15ekqvlezeo
2•pluc•11m ago•0 comments

Empress Wu Zetian Ruled China Through Blood and Reform

https://www.thecollector.com/empress-wu-zetian-transformed-china-blood-reform/
1•Tomte•12m ago•0 comments

The Comfortable Life Is Killing You

https://poeticoutlaws.substack.com/p/the-comfortable-life-is-killing-you
3•erenon•13m ago•1 comments

What Computers Can't Do, a Critique of Artificial Reason (1972) [pdf]

https://monoskop.org/images/c/ce/Dreyfus_Hubert_What_Computers_Cant_Do_A_Critique_of_Artificial_R...
1•jacquesm•13m ago•0 comments

FCC approves 1M SpaceX data centers in space. Astronomers are dismayed

https://www.washingtonpost.com/technology/2026/11/26/fcc-approves-1-million-spacex-data-centers-s...
3•bookofjoe•14m ago•1 comments

IBM MVS 3.8 Community Edition (52-year old OS)

https://github.com/MVS-sysgen/sysgen
2•emersonrsantos•17m ago•0 comments

My AI-Voice I am the F AI voice assistant

https://github.com/FLEYRULLET/FLEYRULLET
1•GIRLBOY•20m ago•0 comments

Show HN: BMXt – Drive the browser via command line and cross-browser WebRTC

https://bmxt.diozy.net/
1•unrsports•21m ago•0 comments

PostgreSQL 18.7 and 19.0: Expression Aggregates 31.6% Slower

https://thestacksentinel.com/articles/postgresql-18-7-and-19-0-expression-aggregates-31-6-slower-...
1•nspkord•25m ago•0 comments

Mailfact – DMARC you can curl, grep, and give to your AI

https://mailfact.app/
1•thenewit•27m ago•1 comments

Show HN: Space Groups – lists and pins for Herdr's sidebar of agent workspaces

https://github.com/AlexJoom/herdr-space-groups
1•atzoumas•27m ago•0 comments

Restricted Nvidia Chips Installed at a Chinese Data Center Linked to Alice Huang

https://www.engadget.com/2329748/restricted-nvidia-chips-were-installed-at-a-chinese-data-center-...
2•thm•31m ago•0 comments

Smart-terminal – zsh ghost-text command suggestions with reversibility

https://github.com/sdi2200246/smart-terminal
1•JNS26•35m ago•0 comments

Preparing for a restart after reading Slack

https://openai.com/safety-alignment/misalignment-reports/preparing-for-a-restart-after-reading-sl...
4•anatolii1309•36m ago•1 comments

Anthropic's answer to a 167-year-old mystery isn't mathematics at all

https://observer.co.uk/news/opinion-and-ideas/article/anthropics-answer-to-a-167-year-old-mystery...
2•jalev•40m ago•0 comments

NIST: Towards Best Practices for Evaluating Super Intelligence Driven Uplift

https://www.nist.gov/news-events/news/2026/11/towards-best-practices-evaluating-si-driven-uplift
2•ersinesen•40m ago•0 comments

Linux C2 from Scratch 0x01: Virtualising Your Malware

https://jm33.me/linux-c2-from-scratch-0x01-virtualising-your-malware.html
1•frostbyte7•44m ago•0 comments

Show HN: Luciole Mono – terminal font designed for legibility

https://scriptor-pro.github.io/luciole-mono/
20•BaudouinVH•45m ago•10 comments

Icelandic Naming Committee

https://en.wikipedia.org/wiki/Icelandic_Naming_Committee
3•djoldman•45m ago•0 comments

Ctxblame – "Git blame" for LLM agent decisions via counterfactual replay

https://github.com/kekeandzeyu/ctxblame
1•kekeandzeyu369•48m ago•0 comments

x86 Is an Octal Machine

https://gist.github.com/seanjensengrey/f971c20d05d4d0efc0781f2f3c0353da
3•fanf2•53m ago•0 comments

Browser Tabs as a Container Runtime

https://fzakaria.com/2026/11/25/browser-tabs-as-a-container-runtime
2•birdculture•53m ago•0 comments

We run 100s of AI agents – here are the most common cyber attacks

https://getjavo.com/articles/ai-agent-attacks-what-we-saw/
2•bentann•59m 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".