frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Math of Spider Wbes

https://digitalcommons.denison.edu/cgi/viewcontent.cgi?article=1036&context=synapse
1•marysminefnuf•2m ago•0 comments

Berkeley Mystery Walls

https://www.atlasobscura.com/places/berkeley-mystery-walls
1•Jimmc414•10m ago•0 comments

Roomy Is Generally Available

https://blog.roomy.space/3mplw6vvw4s23
1•abc42•10m ago•1 comments

How to Visualize Millions of Parcels on a Map

https://walker-data.com/posts/millions-of-parcels/
1•the-mitr•11m ago•0 comments

KDE Linux Experiences

https://akselmo.dev/posts/kde-linux-experiences/
1•watermelon0•12m ago•0 comments

4 in 10 travellers visit tourist sites to capture social media content

https://www.tuigroup.com/en/newsroom/news/travel-in-the-age-of-scrolling-tui-musement-research-re...
6•Markoff•21m ago•5 comments

ESP32-S31 dual-core RISC-V SoC is getting official Linux support

https://www.cnx-software.com/2026/08/22/espressif-systems-releases-a-linux-bsp-developer-preview-...
1•pyprism•23m ago•0 comments

Meta $1.4T threat could mean 'turning in the keys and walking away'

https://fortune.com/article/meta-faces-1-4-trillion-threat-stakes-of-case-reach-across-tech-08-20...
3•1vuio0pswjnm7•30m ago•2 comments

GPT 5.6 Sol 20% price reduction

https://developers.openai.com/api/docs/models/gpt-5.6-sol
2•izakfr•30m ago•1 comments

Suspicions of hitting daughter between a congressman and his ex-wife

https://www.washingtonpost.com/investigations/2026/08/21/inside-police-investigation-how-rep-max-...
2•doctorpangloss•33m ago•1 comments

Fighter jets help destroy Russian drone boat near European offshore gas platform

https://arstechnica.com/gadgets/2026/08/explosive-russian-drone-boat-destroyed-near-european-offs...
1•jnord•33m ago•0 comments

I built an open-source FACEIT stats Browser Source for OBS

https://faceitwidget.com/
1•nachete•37m ago•0 comments

Firezone REST API generally available

https://www.firezone.dev/blog/rest-api-ga
1•jamilbk•41m ago•0 comments

Prevention of myopia in a near-primate by supplemental indigo light

https://pubmed.ncbi.nlm.nih.gov/42612637/
1•OutOfHere•46m ago•1 comments

I tested 20 "agent-ready" Shopify stores –> 25% silently break at add-to-cart

https://github.com/MythrilS/agent-ready-checkout
1•MythrilS•53m ago•0 comments

Limnic Eruption

https://en.wikipedia.org/wiki/Limnic_eruption
2•tchalla•55m ago•0 comments

EchoCoT: Extracting Hidden Chain-of-Thought from Large Reasoning Models

https://arxiv.org/abs/2608.20055
1•sbulaev•56m ago•0 comments

Finding a hidden Mersenne Twister inside a 15 year old game binary

https://medium.com/@jizoskasa/i-reverse-engineered-plants-vs-zombies-to-answer-one-very-specific-...
1•signa11•59m ago•0 comments

New U.S. tariffs to take effect after midnight, Canada plans to match levies

https://www.cbc.ca/lite/story/9.7310605
4•morkalork•1h ago•1 comments

France issues warning over substandard condoms

https://www.dw.com/en/france-issues-warning-over-thousands-of-substandard-condoms/a-78462877
2•tchalla•1h ago•0 comments

Inevitable Architecture

https://lebbeuswoods.wordpress.com/2012/07/09/inevitable-architecture/
1•cl42•1h ago•0 comments

Chinese regulators tell Tesla: fix 3M cars

https://arstechnica.com/cars/2026/08/chinese-regulators-tell-tesla-to-fix-nearly-3-million-cars/
2•worik•1h ago•0 comments

King of the Indie Hacker? Will You Claim the Throne?

https://www.kingoftheindiehacker.lol
1•mattmerrick•1h ago•0 comments

Neo: A novel writing tool from Hugh Howey

https://hughhowey.com/introducing-neo/
1•js2•1h ago•0 comments

Getting Freaky in the Age of AI

https://www.iankduncan.com/engineering/2026-08-07-getting-freaky-in-the-age-of-ai/
1•jbott•1h ago•0 comments

Ebb: A Privacy-First Period Tracker

https://ebb.lyfmail.com
1•LYFMail•1h ago•1 comments

People are vandalizing Flock surveillance cameras

https://www.npr.org/2026/08/21/nx-s1-5939851/flock-cameras-police-block-surveillance-vandalize
2•0in•1h ago•0 comments

Linus: And this was a debug session from hell, enormously helped by an AI

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=818bebeb63dd6bf5f4e...
2•Garbage•1h ago•0 comments

Giving an LLM your prod database is easy. Taking access away is the hard part

https://deepsql.ai/blog/giving-an-llm-your-database-is-easy-taking-access-away-is-hard
2•venkat971•1h ago•1 comments

Show HN: A fruit fly on the web powered by the real FlyWire connectome

https://github.com/DustinBrett/daedalOS
1•DustinBrett•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•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".