frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

That was Tim, this is Ternus: Some first thoughts on Apple's CEO transition

https://sixcolors.com/post/2026/04/that-was-tim-this-is-ternus-some-first-thoughts-on-apples-ceo-...
1•tambourine_man•4m ago•0 comments

JetBlue Responds to Accusations of Using Surveillance Pricing After Viral Tweet

https://gizmodo.com/jetblue-responds-to-accusations-of-using-surveillance-pricing-after-viral-twe...
1•c420•10m ago•0 comments

OpenSecurityTraining2: Learning Paths

https://www.ost2.fyi/Learning-Paths.html
1•2bluesc•15m ago•0 comments

Giant Mac mini cluster powers Overcast podcast transcripts without the cloud

https://appleinsider.com/articles/26/04/07/giant-mac-mini-cluster-powers-overcast-podcast-transcr...
1•brigham•17m ago•0 comments

Climate Caused the US Civil War

https://unchartedterritories.tomaspueyo.com/p/climate-caused-the-us-civil-war
1•gmays•18m ago•2 comments

Journey to the Heart of the Techno-Barbarism Machine

https://calexandersmith.substack.com/p/in-the-claws-of-the-machine
2•indigodaddy•26m ago•0 comments

How to Make a Fast Dynamic Language Interpreter

https://zef-lang.dev/implementation
9•pizlonator•28m ago•0 comments

Trolling with AI is too much fun(2024)

https://old.reddit.com/r/aiwars/comments/18ovtyp/trolling_with_ai_is_too_much_fun/
1•rolph•31m ago•0 comments

Agentfill – a "polyfill" for complete AGENTS.md support in Claude, etc.

https://agentfill.dev/
1•nevir•32m ago•0 comments

Kimi, Author of the Menard

https://linch.substack.com/p/fine-tuning-borges
1•paulpauper•41m ago•0 comments

Will Price Transparency Cure America's High Healthcare Costs?

https://nicholasdecker.substack.com/p/will-price-transparency-cure-americas
1•paulpauper•41m ago•1 comments

Vibe coding upstart Lovable denies data leak, throws HackerOne under the bus

https://www.theregister.com/2026/04/20/lovable_denies_data_leak/
2•omer_k•42m ago•0 comments

I tried the pixel-flavored Coke, and it Bytes

https://www.theverge.com/23014905/coke-byte-pixel-flavored-soda-review-fortnite-metaverse
2•paulpauper•42m ago•0 comments

Milei's New Order Is Running into Argentina's Old Problems

https://www.wsj.com/world/americas/mileis-radical-new-order-is-running-into-argentinas-old-proble...
1•doener•50m ago•0 comments

Microsoft's GitHub grounds Copilot account sign-ups amid capacity crunch

https://www.theregister.com/2026/04/20/microsofts_github_grounds_copilot_account/
1•omer_k•54m ago•1 comments

A pro-worker experiment in private equity

https://www.npr.org/2026/04/08/nx-s1-5776833/private-equity-pete-stavros-employee-ownership
2•marojejian•59m ago•1 comments

HelloESP: A Website,Hosted on an ESP32

https://helloesp.com/
2•thunderbong•1h ago•0 comments

LLM from scratch (32l) – Interventions: updated instruction fine-tuning results

https://www.gilesthomas.com/2026/04/llm-from-scratch-32l-interventions-instruction-fine-tuning-tests
1•gpjt•1h ago•0 comments

A major US court case could help fix the ills of Citizens United

https://www.theguardian.com/commentisfree/2026/apr/19/citizens-united-super-pacs
3•foolswisdom•1h ago•0 comments

Why doesn't memory work across AI tools?

https://www.ricord.ai
1•hexaclawdevs•1h ago•1 comments

Washington Rewrites the Rules of Funding Technological Innovation

https://www.wsj.com/politics/trump-government-research-funding-changes-0e5317a1
3•petethomas•1h ago•2 comments

Japan warns of increased risk of earthquakes at M8.0 or stronger

https://japantoday.com/category/national/tsunami-warning-as-major-quake-hits-northern-japan-shake...
3•teleforce•1h ago•0 comments

Brad Feld – Two Weeks of Stomping Slop

https://adventuresinclaude.ai/posts/two-weeks-of-stomping-slop
2•rmason•1h ago•0 comments

Myth-Journey Malware Analysis

http://lockboxx.blogspot.com/2026/04/dont-run-this-game-inside-myth-journey.html
1•ahokk•1h ago•0 comments

When Your Digital Life Vanishes

https://www.newyorker.com/magazine/2026/04/27/when-your-digital-life-vanishes
2•stevenwoo•1h ago•2 comments

Taylor series in the Russian civil war era Ukraine

https://elr3to.blogspot.com/2013/04/i-tamm-and-remainder-term-in-taylors.html
3•ganitam•1h ago•1 comments

Material Lab

https://materiallab.ai
1•danjlaury•1h ago•1 comments

Emails show Amazon colluded to raise prices, California authorities allege

https://www.theguardian.com/us-news/ng-interactive/2026/apr/20/amazon-sellers-price-raises-califo...
8•kmfrk•1h ago•1 comments

New Tractor with 12-Valve Cummins and Zero Electronics Goes Back to the Basics

https://www.thedrive.com/news/new-tractor-with-12-valve-cummins-and-zero-electronics-goes-back-to...
10•pkaeding•1h ago•2 comments

Spirit Airlines in Talks with Trump Administration on Government Investment

https://www.wsj.com/business/airlines/struggling-spirit-airlines-in-talks-with-trump-administrati...
4•petethomas•1h 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•11mo ago

Comments

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

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

to:

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

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

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

Oh and maybe cherry-pick

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