frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Wt – C++ Web Toolkit

https://www.webtoolkit.eu/wt
2•LorenDB•2m ago•0 comments

Explore distributed inference and training with MLX [video]

https://developer.apple.com/videos/play/wwdc2026/233/
1•pulkitsh1234•3m ago•0 comments

Building on ATProto

https://lukekanies.com/writing/building-on-atproto/
4•speckx•5m ago•0 comments

Snappable nRF52820 debugger integrated into nRF54L15 development board

https://www.cnx-software.com/2026/07/23/icy-electronics-nrf54l15-discovery-devboard-integrates-a-...
1•whiteblossom•6m ago•0 comments

Engineer Away the Slop

https://ghuntley.com/slop/
2•hasheddan•6m ago•0 comments

I used to ignore prediction markets. Then I learned people bet on wildfires

https://www.hcn.org/articles/i-used-to-ignore-prediction-markets-then-i-learned-people-were-betti...
1•cdrnsf•7m ago•0 comments

Why does DOS include "get interrupt vector" and "set interrupt vector" syscalls?

https://retrocomputing.stackexchange.com/questions/32747/why-does-dos-include-get-interrupt-vecto...
2•SeenNotHeard•8m ago•0 comments

The Topology of Depression: A System Dynamics View of My Depression and Recovery

https://tomatovillain.substack.com/p/the-topology-of-depression
1•tom-villani•9m ago•0 comments

Microsoft 365 a.k.a. Microsoft Copilot a.k.a. Office 365 has jumped off a cliff

https://cyberplace.social/@GossiTheDog/116970532818392929
2•d1ss0nanz•10m ago•0 comments

Model Context Protocol prepares to break with its stateful past

https://www.theregister.com/devops/2026/07/23/model-context-protocol-prepares-to-break-with-its-s...
1•rndsignals•10m ago•0 comments

My coding font and how I made it

https://github.com/ericfortis/camelana
2•efortis•12m ago•0 comments

AMD's 256-core Epyc 9996 'Venice' claims up to a 3.4x jump over Intel Xeon

https://www.tomshardware.com/pc-components/cpus/amds-256-core-epyc-9996-venice-claims-up-to-a-3-4...
3•rndsignals•12m ago•0 comments

SafeMediaKit – blur/report UI for Apple's on-device nudity detection

https://github.com/SardorbekR/SafeMediaKit
1•sardor_rakhimov•14m ago•0 comments

I built a tool that tells who tried your startup idea, and how they died

https://dejaview.bsct.so/
4•aminkhorrami•15m ago•1 comments

Open Trading Surface

https://pauljbernard.github.io/open-trading-surface/
2•paulbernard•15m ago•0 comments

Private Credit Ditches 'Semi-Liquid' Term After Redemption Wave

https://www.bloomberg.com/news/articles/2026-07-23/private-credit-ditches-semi-liquid-term-after-...
1•petethomas•16m ago•0 comments

A solid-state "atomic channel" for separating rare earth elements

https://pme.uchicago.edu/news-events/news/cleaner-route-purifying-rare-earth-elements
2•MarcoDewey•16m ago•0 comments

Geekbench 7

https://www.geekbench.com/blog/2026/07/geekbench-7/
3•ilreb•17m ago•1 comments

Smoother scrolling: How we halved scroll jank in Chrome on Android

https://blog.google/chromium/smoother-scrolling-how-we-halved-scroll-jank-in-chrome-on-android/
1•xnx•19m ago•1 comments

Importing a front end JavaScript library without a build system

https://simonwillison.net/2024/Nov/23/without-a-build-system/
1•ulrischa•19m ago•0 comments

Why Sony Can't Bring Back Its Classic Walkman Models

https://obsoletesony.substack.com/p/why-sony-cant-bring-back-classic-walkman
7•speckx•20m ago•1 comments

Storage Price Trends

https://pcpartpicker.com/trends/price/internal-hard-drive/
1•kaycebasques•21m ago•0 comments

Space's Hardest Problems: Incentives, Information, and Institutions

https://finalfrontierecon.substack.com/p/spaces-hardest-problems-incentives
1•paulpauper•21m ago•0 comments

AI bet goes awry: Oracle fires 21,000 employees

https://www.msn.com/en-us/money/economy/ai-bet-goes-awry-oracle-fires-21-000-employees/ar-AA28vWuD
2•petethomas•21m ago•0 comments

Does it matter if you don't like the characters?

https://www.commonreader.co.uk/p/does-it-matter-if-you-dont-like-the
1•paulpauper•21m ago•0 comments

IT Inflation Is Rising. It's Time for the C-Suite to Act

https://www.hellersearch.com/blog/it-inflation-is-rising.-its-time-for-the-c-suite-to-act
1•petethomas•23m ago•0 comments

A new crop of treasure-seekers are betting it all on the Calif. desert

https://www.sfgate.com/california/article/california-gold-mining-22335840.php
1•gmays•24m ago•0 comments

EU's Google fine risks triggering Trump as he gears up for more tariffs

https://www.politico.eu/article/eu-google-fine-donald-trump-tariffs/
1•oriettaxx•25m ago•0 comments

Poison Song Teaser (2025)

https://www.tamriel-rebuilt.org/content/poison-song-teaser
1•kqr•26m ago•0 comments

Puffling spotted at colony in 'danger of extinction'

https://www.bbc.com/news/articles/cx2rv02dky2o
1•paulpauper•26m 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".