frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

What Makes American Architecture American?

https://www.thenation.com/article/culture/american-architecture-sprawl-suburbs-postmodernism/
1•tintinnabula•1m ago•0 comments

Agent swarms are great for local AI

https://jonready.com/blog/posts/agent-swarms-are-great-for-local-ai.html
1•mips_avatar•1m ago•0 comments

TinyS – Python-shaped syntax with Rust semantics

https://github.com/ewiger/TinyS/blob/main/TLDR.md
1•divingstar•4m ago•0 comments

The Great Barrier Reef is changing. Why isn't it on UNESCO's 'in danger' list?

https://www.unsw.edu.au/newsroom/news/2026/07/the-great-barrier-reef-is-changing-why-isnt-it-on-U...
2•littlexsparkee•8m ago•0 comments

Boeing asks US to intervene over record EU loan to Airbus

https://www.reuters.com/business/aerospace-defense/boeing-asks-us-intervene-over-record-eu-loan-a...
2•petethomas•9m ago•0 comments

A Journey to the Center of the SpiderMonkey Virtual Machine [video]

https://www.youtube.com/watch?v=yrk7fLVLBc8
2•pwnna•12m ago•0 comments

A flaky test exposed a Redis client use-after-free

https://buildkite.engineering/how-a-flaky-test-exposed-a-redis-use-after-free/
3•DrNemski•18m ago•0 comments

Making AI Movies

https://dawndrain.notion.site/Making-AI-Movies-39cbb81dad798077b43adcd96e3ebe75
2•jfil•21m ago•0 comments

I made ThoughtDAG – LLM as an editable graph, wires are the context

https://github.com/chenxiachan/thoughtdag
2•chatchan•22m ago•0 comments

"No AI" Statements Are More Than Mere Statements

https://journal.james-zhan.com/no-ai-statements/
2•birdculture•24m ago•0 comments

How the First Gravitational Waves Were Found (2016)

https://www.newyorker.com/tech/annals-of-technology/gravitational-waves-exist-heres-how-scientist...
1•cocacola1•27m ago•0 comments

Gigatoken: Fastest Tokenizer

https://twitter.com/marcelroed/status/2079642154960564352
2•convexstrictly•32m ago•1 comments

Do Skills Improve Coding Agent Accuracy?

https://orcabot.com/labs/do-skills-improve-coding-agent-accuracy
1•robbomacrae•33m ago•0 comments

About Cidpro

https://idpro.org/cidpro/
1•mooreds•34m ago•0 comments

Meta is testing an AI bedtime story app for people with no imagination

https://techcrunch.com/2026/07/21/meta-is-testing-an-ai-bedtime-story-app-for-people-with-no-imag...
6•mikelgan•36m ago•3 comments

The Reranker Tax: When a Smart Layer Can't Save a Weak Foundation

https://www.eoinhurrell.com/posts/20260717-the-reranker-tax/
1•mooreds•36m ago•0 comments

Why Huge Pages Matter for Postgres?

https://clickhouse.com/blog/huge-pages-clickhouse-managed-postgres
1•saisrirampur•39m ago•0 comments

What Americans Need to Understand About China [video]

https://www.youtube.com/watch?v=DprKDXRlubw
3•mooreds•39m ago•0 comments

Show HN: Free Desktop OrcaBot for macOS

https://orcabot.com/blog/free-desktop-orcabot
1•robbomacrae•39m ago•0 comments

We gave a team of AI agents a company to run – how they decide what to do next

https://fieldnotesstudio.codeberg.page/blog/how-ai-agents-decide-what-to-do-next/
1•aifieldnotes•39m ago•0 comments

AI Companies Are Buying Tons of Old Books Because They're Free of AI Slop

https://nonogra.ph/ai-companies-are-buying-tons-of-old-books-because-theyre-free-of-ai-slop-07-22...
3•arkhiver•40m ago•0 comments

OSS-SEC: 432 Linux kernel CVEs (in less than 32 hours)

https://seclists.org/oss-sec/2026/q3/198
4•refp•40m ago•6 comments

How can a sticky note app make you ten times more productive?

https://www.taskloco.com/
1•tasklocozon•41m ago•0 comments

AI tutor that turns any document into interactive voice lessons

https://www.tutorlify.com/en
1•mcourrech•46m ago•0 comments

A hallmarks-of-aging profile from data you have

https://agelessatlas.com/
1•luciabazanw•47m ago•0 comments

Coding Used to Be Amazing

https://dinosaurseateverybody.com/blog/coding-used-to-be-amazing
1•dorkrawk•48m ago•0 comments

CDC travel notice for outbreak deadly incurable mosquito virus reaches Americas

https://www.dailymail.com/health/article-15993587/CDC-travel-advisory-costa-rica-chikungunya-viru...
2•Bender•48m ago•1 comments

Apple Maps and cartographic erasure of Jews

https://www.jns.org/opinion/daniel-winston/apple-maps-and-cartographic-erasure
1•bryanrasmussen•48m ago•1 comments

More testosterone won't make a better soldier or a tougher man

https://theconversation.com/more-testosterone-wont-make-a-better-soldier-or-a-tougher-man-aggress...
5•1659447091•49m ago•0 comments

Mochi 0.8.0

https://mochi.fast/blog/mochi-0-8-0/
1•khromov•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".