frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Ntsc-rs, open-source video effect which emulates analog TV and VHS artifacts

https://ntsc.rs/
1•QuantumNomad_•35s ago•0 comments

European Alterantives to American Apps

https://blog.uniqkey.eu/resources/european-alternatives/
1•utsavchopra•1m ago•0 comments

1D Cellular Automata Playground

https://paraschopra.github.io/1d-ca/
1•paraschopra•4m ago•0 comments

Discussion: Seedance-style AI video generation workflows

1•littlepp•4m ago•0 comments

A read-only IMAP client for Wear OS

https://github.com/cmader/MailReader
1•TrevorOkmonic•5m ago•0 comments

Iraq War Oil Oped

https://www.cnn.com/2013/03/19/opinion/iraq-war-oil-juhasz
1•marysminefnuf•5m ago•0 comments

Ahead-of-Time Automatic Differentiation in Python

https://github.com/Eshaancoding/ad
1•eshaanb•6m ago•1 comments

Reading Buffer statistics in EXPLAIN output

https://boringsql.com/posts/explain-buffers/
1•radimm•7m ago•0 comments

Subtle thermal factors I didn't expect when testing high-power LEDs

1•kashinfilm•10m ago•0 comments

Show HN: CPL – A categorical programming language that runs in the browser

https://msakai.github.io/cpl/
1•msakai•11m ago•0 comments

Companies behind Postgres 18 development

https://theconsensus.dev/p/2026/02/02/companies-behind-postgres-18.html
1•ingve•12m ago•0 comments

The Cost of a Function Call

https://lemire.me/blog/2026/02/08/the-cost-of-a-function-call/
2•ingve•13m ago•0 comments

Show HN: Tiles – yet another Emacs package for note-taking

https://github.com/ctanas/tiles
1•amiralul•14m ago•0 comments

PaperBanana: Generate methodology diagrams and plots from text or references

https://paperbanana.org/
1•codingbuddy•17m ago•0 comments

Is the SaaSpocalypse nigh? The era of paying for software seats may be ending

https://thenewstack.io/dawn-of-a-saaspocalypse/
1•sigalor•17m ago•1 comments

Show HN: I built RSS feeds for podcast guests, not podcasts

https://poddley.com/guests/jordan-peterson/episodes
4•onesandofgrain•18m ago•0 comments

Parsing Database Traffic with eBPF and Finite State Machines (2026)

https://akashmandal001.substack.com/p/ebpf-data-monitoring-protocol-intelligence-layer
1•sniner•19m ago•0 comments

Tell HN: Thoughts on the Future

1•grandimam•22m ago•1 comments

Linux laptop with < 0.3w standby power draw?

3•sam_lowry_•22m ago•0 comments

Japan retrieves rare earth-rich mud from seabed

https://apnews.com/article/japan-rare-earths-china-deep-sea-c97d34522e23ed418cf068f4a0217188
2•toephu2•30m ago•0 comments

The Frankenstyle Project – A painless front end system

https://franken.style/
1•redenfm•31m ago•0 comments

Valve Just Won a Legal Victory [video]

https://www.youtube.com/watch?v=gXXgkh7gUGU
1•chii•35m ago•0 comments

HN: Turn your family memories into a cinematic video

https://familymemories.video
1•tareq_•37m ago•0 comments

Show HN: Molinar – Open-source alternative to ai.com (AGPL-3.0)

https://business.molinar.ai
1•novelica•38m ago•0 comments

Apple Silicon: 1 Cores, clusters and performance

https://eclecticlight.co/2024/02/19/apple-silicon-1-cores-clusters-and-performance/
1•janandonly•38m ago•0 comments

Show HN: Invox – Open-source self-hosted invoicing for freelancers

https://invox-green.vercel.app
1•maksim-pokhiliy•45m ago•0 comments

The Operational Cost of Vacuuming in PostgreSQL

https://mariadb.org/the-real-operational-cost-of-vacuuming-in-postgresql/
1•enz•47m ago•0 comments

Show HN: MemeOS – The Ultimate Meme Operating System (iOS)

https://apps.apple.com/us/app/memeos-ai-meme-maker-editor/id6758034477
3•moimaere•48m ago•1 comments

Bash Is Not Enough: Why Large-Scale CI Needs an Orchestrator

https://www.iankduncan.com/engineering/2026-02-06-bash-is-not-enough/
2•gempir•49m ago•1 comments

China Urges Banks to Curb Exposure to US Treasuries

https://www.bloomberg.com/news/articles/2026-02-09/china-urges-banks-to-limit-holdings-of-us-trea...
4•petethomas•50m 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•9mo ago

Comments

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

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

to:

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

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

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

Oh and maybe cherry-pick

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