frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Sherlock – Financial Crime Analytics

https://github.com/RDMachinery/Sherlock
1•TheScoob•49s ago•1 comments

The Wish Machine: Who Does AI Obey? [video]

https://www.youtube.com/watch?v=vFzXLab1moM
1•darkmirage•1m ago•0 comments

A funny thing happened on the limbhackers forum [fiction]

https://strangehorizons.com/wordpress/fiction/a-funny-thing-happened-on-the-limbhackers-forum/
1•paimapi•1m ago•0 comments

"Earth Not a Globe": Parallax's Zetetic Astronomy (1865)

https://publicdomainreview.org/collection/zetetic-astronomy
1•acossta•4m ago•0 comments

Chemists, Chemical Engineers, and Plant Managers

https://www.seeingthesystem.com/p/chemists-chemical-engineers-and-plant
1•TinyBig•4m ago•0 comments

Show HN: I made a cute game for learning loop invariants

https://jammy.fun/invariant/
1•suhdonghwi•4m ago•0 comments

Google cleared 300 hectares of Finnish forest

https://www.techspot.com/news/114100-google-cleared-300-hectares-finnish-forest-data-center.html
2•wetwater•4m ago•0 comments

Ask HN: Which AI Security tool do you use and why for your repositories?

1•BehanPrW•5m ago•0 comments

20 years in the AWS Cloud – how time flies

https://aws.amazon.com/blogs/aws/20-years-in-the-aws-cloud-how-time-flies/
1•okzgn•5m ago•0 comments

Single-tenant Titus: VM-level isolation on a multi-tenant container platform

https://netflixtechblog.com/single-tenant-titus-vm-level-isolation-on-a-multi-tenant-container-pl...
1•CharlesW•5m ago•0 comments

There's no such thing as a luxury EV market. And there never will be.

https://www.washingtonpost.com/opinions/2026/10/19/theres-no-such-thing-luxury-ev-market/
1•bookofjoe•5m ago•1 comments

Show HN: I rebuild PDFs into editable HTML objects, in the browser

https://blueberry-shake.pages.dev/
1•HopeLion•5m ago•0 comments

Show HN: Aven-stops AI coding tools from breaking yours project's rules

https://getaven.pages.dev
1•12ziyad•6m ago•0 comments

From Oracle DBA to Postgres Contributor

https://talkingpostgres.com/episodes/from-oracle-dba-to-postgres-contributor-with-karen-jex
1•plaur782•7m ago•0 comments

Airbnb hosts can no longer make guests strip beds, wash dishes under new rules

https://www.bbc.com/news/articles/c6n049gg75r4o
2•tartoran•8m ago•0 comments

The Ritual – A film emulation firmware for Canon 5D and 5D Mark II

https://latentstudios.art/firmware/
1•rhinoceraptor•8m ago•1 comments

Show HN: IAMSentry – Paste an IAM policy, see privesc attack paths and fixes

https://iamsentry.vercel.app
1•vmaglion•8m ago•0 comments

Show HN: Airlock, which sandboxes AI agents, is available on the Mac App Store

https://airlock.sorrel.systems
1•simonmaddox•8m ago•0 comments

Show HN: PDT – Open-source deployment of scheduled jobs on your own cloud

https://github.com/AutoIDM/pdt
2•visch•9m ago•0 comments

A Generalized Response to the AI Layoff Trap

https://zenodo.org/records/20633148
1•fscaramuzza•9m ago•0 comments

Blame it on Agent (tech parody song) [video]

https://www.youtube.com/watch?v=yqeXmemXc18
1•lackoftactics•9m ago•1 comments

Fixing some web component friction points

https://avanelsas.github.io/foggy-glasses/fixing-web-components-friction-points/
1•vanelsas•10m ago•0 comments

Show HN: Run full iOS 16.5 firmware on Android Devices

https://github.com/oosexgang/hackios-xnu-kernel
3•aghuang•10m ago•0 comments

Show HN: Transit – subway maps of your data

https://github.com/israelvicars/transit
1•vnchr•11m ago•0 comments

About (neal.fun)

https://neal.fun/about/
1•bpierre•11m ago•0 comments

Show HN: Klara – We built Rewind alternative that indexes text instead of video

https://klaraapps.com/
1•armutyus•12m ago•0 comments

GLP-1 drugs fail to help some people lose weight – scientists look for answers

https://www.nature.com/articles/d41586-026-03020-3
2•paulpauper•14m ago•0 comments

The Next Frontier for Obesity Drugs Isn't How Much Weight You Lose but What Kind

https://www.wsj.com/health/pharma/the-next-frontier-for-obesity-drugs-isnt-how-much-weight-you-lo...
1•paulpauper•15m ago•0 comments

Axminster: UML/OCL design tool with MCP

https://chironcodex.com/axminster/
1•grahamlee•16m ago•0 comments

MinIO Is Archived: Self-Hosted S3 Alternatives for Your Homelab (2026)

https://lucasaguiar.xyz/posts/self-hosted-s3-minio-alternatives-2026/
1•isfttr•16m 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".