frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open Source Low Tech

https://opensourcelowtech.org/
1•grep_it•2m ago•0 comments

Bumble dating app explores sale

https://www.reuters.com/business/bumble-dating-app-explores-sale-sources-say-2026-06-25/
1•JimsonYang•3m ago•0 comments

Fossil fuel emissions have rapidly worsened European heatwaves in a few decades

https://www.worldweatherattribution.org/fossil-fuel-emissions-have-rapidly-worsened-european-heat...
1•tcumulus•4m ago•0 comments

The many journeys of learning Rust

https://blog.rust-lang.org/2026/06/25/vision-doc-journeys-to-learning-rust/
1•TangerineDream•4m ago•0 comments

Relationship-driven vs. process-driven organisations

https://www.leadinginproduct.com/p/relationship-driven-vs-process-driven
1•benkan•5m ago•0 comments

Spain will require carriers to keep mobile networks live during power outages

https://www.engadget.com/2201931/spain-will-require-carriers-to-keep-mobile-networks-live-during-...
1•benkan•6m ago•0 comments

Polestar Banned from Selling Cars in the U.S. Starting with Model Year 2027

https://www.autoevolution.com/news/polestar-banned-from-selling-cars-in-the-us-starting-with-mode...
1•benkan•6m ago•0 comments

Local and GitHub Code Review TUI

https://tuicr.dev/
1•angelmm•8m ago•0 comments

Software SIM Card

https://github.com/tomasz-lisowski/swsim
2•ilreb•8m ago•0 comments

A Brief Perspective of Feminism

https://grajmanu.wordpress.com/2020/11/24/book-8-part-1-feminism/
1•grajmanu•9m ago•0 comments

Micron locks in historically high memory prices for five years

https://www.theregister.com/systems/2026/06/25/micron-locks-in-historically-high-memory-prices-fo...
3•fauigerzigerk•10m ago•0 comments

Strategic Violence and Epistemic Negotiation

https://grajmanu.wordpress.com/2025/04/09/violence-is-good2/
1•grajmanu•12m ago•0 comments

Silk: A silky smooth fiber runtime for ClickHouse

https://clickhouse.com/blog/silk
1•Hixon10•13m ago•0 comments

US Govt to individually approve who gets GPT 5.6

https://old.reddit.com/r/LocalLLaMA/comments/1ufo0un/us_govt_to_individually_approve_who_gets_gpt...
2•theanonymousone•13m ago•2 comments

SPIR-V Update

https://ziglang.org/devlog/2026/#2026-06-26
2•grajmanu•14m ago•0 comments

OpenBubbles – iMessage on Android without a Mac relay server

https://openbubbles.app
1•kls0e•14m ago•0 comments

European heatwave is worst ever and impossible without climate crisis

https://www.theguardian.com/environment/2026/jun/26/europe-heatwave-impossible-without-climate-cr...
2•novaRom•18m ago•0 comments

Linux Kills Strncpy

https://smist08.wordpress.com/2026/06/25/linux-kills-strncpy/
2•ingve•18m ago•0 comments

Show HN: Stackzero - The Smarter Way to Discover Free Developer Tools

https://stackzero.revoseek.com
1•izoom•20m ago•0 comments

Show HN: Visual AWS infrastructure builder that generates Terraform

https://infra-as-a-code.vercel.app
1•Babkv90•20m ago•0 comments

Remembrance Agent: A continuously running information retrieval system (1996) [pdf]

https://cdn.aaai.org/Symposia/Spring/1996/SS-96-02/SS96-02-022.pdf
1•fhars•23m ago•0 comments

Show HN: Every site gives a different P/E ratio, so I open-sourced the math

https://github.com/JerBouma/FinanceToolkit
1•JerBouma•24m ago•0 comments

An LLM verifier rated math proofs near-perfect; an expert found 17% correct

https://korbonits.com/blog/2026-06-12-easier-to-convince-than-to-prove/
1•korbonits•28m ago•0 comments

Ask HN: What size is your journal book and why?

1•herodoturtle•29m ago•0 comments

Why have papers by Max Planck been retracted?

https://www.science.org/content/article/why-have-papers-one-history-s-most-famous-physicists-been...
3•adsche•29m ago•1 comments

Soumitra Dutta – Technology, Innovation and Global Policy

https://soumitradutta.mobirisesite.com/
1•davidwilliam26•34m ago•1 comments

Optimus Cirrus

https://github.com/morganstanley/optimus-cirrus
1•tosh•35m ago•0 comments

A Fake Shell for Pangenomics

https://www.cs.cornell.edu/~asampson/blog/flash.html
1•matt_d•36m ago•0 comments

Stop the bloatware in modern Linux. Noctalia V5 and labwc and dinit [video]

https://www.youtube.com/watch?v=z3sg8nXkvgo
1•grigio•42m ago•0 comments

Imaging exoplanets using Einstein Rings within 1 lifetime [video]

https://www.youtube.com/watch?v=go-50Dpzs20
2•OSaMaBiNLoGiN•49m 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".