frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: RVault – A local TUI password manager

https://github.com/ata-sesli/rvault
1•ata-sesli•1m ago•0 comments

Event Driven architecture – a visual guide with analogies

https://dvcoolarun.com/2026/03/23/Event-Driven-Architecture-A-Visual-Guide-with-Analogies.html
1•dvcoolarun•1m ago•0 comments

Show HN: AgentVerse – Open social network for AI agents (Mar 2026)

https://nickakre.github.io/agentverse-social/
1•nickakre•3m ago•0 comments

Garden Horizons

https://gardenhorizons.top/
1•mumuchen•3m ago•0 comments

Latin America Becomes an Investor Magnet

https://www.bloomberg.com/news/features/2026-03-20/paraguay-why-a-little-known-trump-ally-is-attr...
1•paulpauper•5m ago•0 comments

Cyber Resilience Act – open-source

https://digital-strategy.ec.europa.eu/en/policies/cra-open-source
1•doener•5m ago•1 comments

When will "the research paper" disappear in economics?

https://marginalrevolution.com/marginalrevolution/2026/03/when-will-the-research-paper-disappear-...
1•paulpauper•5m ago•0 comments

Caviar Diplomacy

https://goodperson.substack.com/p/caviar-diplomacy
2•paulpauper•8m ago•0 comments

Air Canada 8646 Reddit Megathread

https://old.reddit.com/r/aviation/comments/1s1bhva/air_canada_8646_megathread/
2•throwway262515•10m ago•1 comments

Non-Messing-Up++: Diagonal Sorting and Young Tableaux

https://winwang.blog/posts/non-messing-up++
1•winwang•11m ago•1 comments

Show HN: An AI predicts your personality and blind spots from just your LinkedIn

https://coached.com/deep-read
1•rohanm93•14m ago•0 comments

Show HN: Linkpeek – link preview for Node.js, Bun, and Deno (1 dependency)

https://github.com/thegruber/linkpeek
1•adrgru•14m ago•0 comments

Was sick scrolling multiple platforms to stay up to date, I made one to fix it

https://amygdala.eu/pulse?q=artificial+intelligence
1•JoranCornelisse•14m ago•0 comments

China battery trio gain $70B as Iran war sparks 'paradigm shift'

https://www.ft.com/content/b122ca1f-fc99-4749-9764-f1998b84dd07
2•akyuu•14m ago•0 comments

Box of Secrets: Discreetly modding an apartment intercom to work with Apple Home

https://www.jackhogan.me/blog/box-of-secrets/
1•jackhogan11•15m ago•0 comments

Show HN: Oo – compress output for coding agents (cargo test → "47 passed, 2.1s")

https://github.com/randomm/oo
1•jannniii•16m ago•0 comments

A new kind of distracted driving is on the rise

https://www.theguardian.com/technology/2026/mar/23/distracted-driving-smartphones-tiktok
1•n1b0m•16m ago•0 comments

Some US car buyers envy what they cannot have – affordable Chinese EVs

https://www.reuters.com/world/asia-pacific/some-us-car-buyers-envy-what-they-cannot-have-affordab...
3•doctorhandshake•18m ago•0 comments

Testing the Swift C compatibility with Raylib

https://carette.xyz/posts/swift_c_compatibility_with_raylib/
1•Brajeshwar•18m ago•0 comments

Broadcasters urge EU to tighten rules for Big Tech in smart TV standoff

https://www.reuters.com/sustainability/boards-policy-regulation/eu-digital-rules-should-apply-big...
1•gostsamo•19m ago•0 comments

Fyn: An uv fork with new features, bug fixes, stripped telemetry

https://github.com/duriantaco/fyn
16•BiteCode_dev•19m ago•3 comments

Prismo – Scrappy notes become a structured knowledge base you get quizzed on

https://prismo-app.com/
1•Elial•22m ago•0 comments

Get up to speed with partial clone and shallow clone (2020)

https://github.blog/open-source/git/get-up-to-speed-with-partial-clone-and-shallow-clone/
1•chmaynard•23m ago•0 comments

Yet Another UK HS2 Screw Up

https://www.bbc.co.uk/news/articles/czex3lj077xo
3•zabzonk•26m ago•0 comments

OpenChoreo: An open-source internal developer platform that does not hide K8s

https://openchoreo.dev/
1•hemapani•26m ago•1 comments

How I got a Dear ImGui App Approved on the Mac App Store

https://marchildmann.com/blog/imgui-mac-app-store/
1•hilti•28m ago•1 comments

LaGuardia Airport Closed After Runway Collision That Killed Two Pilots

https://www.wsj.com/us-news/faa-issues-ground-stop-at-laguardia-after-plane-collides-with-vehicle...
1•fortran77•28m ago•1 comments

Bypassing deep packet inspection with socat and HTTPS tunnels

https://blog.bofh.it/debian/id_472
1•speckx•30m ago•0 comments

The Truth About No-KYC Crypto Cards, from Someone Who Ran One

https://twitter.com/defyneric/status/2021116183898886201
2•gasull•31m ago•0 comments

Vertical Farms Tried to Compete with Open Field Farming. It Isn't Going Well

https://www.nytimes.com/2026/03/21/business/vertical-farms-tried-to-compete-with-open-field-farmi...
2•mistersquid•31m 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•10mo ago

Comments

epmatsw•10mo ago
restore and maybe switch are the two missing ones I think. Rebase for me, but that’s preference. Cherry-pick too.
rentonl•10mo ago
my co-workers used to think I was an expert in git. In reality, they memorized 7 commands while I memorized 15
hbogert•10mo ago
i memorized that a commit tree is a ordered set of patches. Everything goes from there.
Areibman•10mo ago
In similar fashion, this site has saved me countless hours fixing common git issues https://ohshitgit.com
the__alchemist•10mo ago
I need to alias:

  git add .
  git commit -am "descriptive name"
  git push

to:

  git sync "descriptive name"
horsawlarway•10mo 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•10mo 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•10mo 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•10mo ago
That sounds better but I like the granularity I get from scrutinizing specific files or the patch takes too long to review.
speff•10mo 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•10mo 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•10mo 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•10mo ago
Maybe not essential, but reflog is invaluable.

I also like to separate fetch from pull (fetch + merge).

foobarkey•10mo ago
Remove merge and add rebase and we agree :)

Oh and maybe cherry-pick

seba_dos1•10mo ago
Both are essential.
realaleris149•10mo ago
There are other commands?
incomplete•10mo 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•10mo ago
i can't take this seriously if there's no mention of the '--amend' option and 'rebase' command
OutOfHere•10mo ago
It missed "git switch" and "git restore".