frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The Apple Calculator Language

https://wadetregaskis.com/the-apple-calculator-language/
1•ingve•1m ago•0 comments

Tell HN: Rising Censorship in German Social Media

1•Fotzenfritz•4m ago•0 comments

Lilian Weng left Thinking Machines citing health reasons, then rejoins OpenAI

https://techcrunch.com/2026/07/29/thinking-machines-co-founder-lilian-weng-left-the-company-citin...
1•doppp•6m ago•0 comments

Show HN: My AI keeps getting smarter. I don't. So I built Engram

https://github.com/nagisanzenin/engram
1•nagisanzeninz•7m ago•0 comments

Show HN: BPM Companion – app that matches playlist to your cadence (beta)

https://bpmcompanion.app/
1•ksh2u•7m ago•0 comments

Explain This – select text, get an explanation from a local LLM

https://github.com/Vishwamitra/explain-this
1•vmmishra•10m ago•0 comments

Cisco FMC static credential vulnerability exploited as a zero-day

https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-fmc-static...
1•nyku•11m ago•0 comments

Keeping goals to yourself increases the chances of completing them? [pdf]

https://www.socmot.uni-konstanz.de/sites/default/files/09_Gollwitzer_Sheeran_Seifert_Michalski_Wh...
2•jimsojim•18m ago•0 comments

Why Higher-Order Logic Is a Good Foundation for Deep Verification

https://sequent.inc/blog/posts/why-hol-for-deep-verification/
2•matt_d•19m ago•0 comments

New microwave frying method could make French fries much healthier

https://www.sciencedaily.com/releases/2026/07/260729044048.htm
3•london_safari•20m ago•0 comments

Is Cloudflare classifying opencode.ai as malware?

1•_raz•23m ago•3 comments

Following the Scent

https://johnwbrown.substack.com/p/following-the-scent
1•ankitg12•26m ago•0 comments

Show HN: Found Live Driving Conditions all over the world. Lets see

https://www.wfy24.com/en/routes
1•weatherfun•28m ago•0 comments

Why Catching Skin Cancer Early Is a Home Robotics Problem

https://marionlepert.github.io/blog/openderm-robotics-problem.html
1•futurecat•30m ago•0 comments

Information Foraging Theory [pdf]

https://www.peterpirolli.com/ewExternalFiles/31354_C01_UNCORRECTED_PROOF.pdf
1•ankitg12•31m ago•0 comments

The scraper bugs that don't throw

https://gist.github.com/ConorsCode/ea7dbfa4e389554c16c308d0a19b67b2
1•Wevegotscrapys•34m ago•0 comments

Ron Gilbert started production on Thimbleweed Park 2

https://www.grumpygamer.com/twp2_announce/
1•alberto-m•34m ago•0 comments

Lessons for founders (from the Wright Brothers biography)

https://blog.thinkst.com/2026/07/other-lessons-for-security-product-founders-from-the-wright-brot...
3•mh_•36m ago•1 comments

Sam Altman is now talking to the White House about decelerating AI

https://twitter.com/AISafetyMemes/status/2082569026929394008
5•abhishekdev•37m ago•3 comments

Hearsay: Vision-Language Medical Diagnoses Without an Image

https://arxiv.org/abs/2607.26886
1•sbulaev•38m ago•0 comments

Instrumenting my espresso machine with OpenTelemetry

https://clickhouse.com/blog/espresso-machine-observability-with-otel
3•g0xA52A2A•39m ago•0 comments

Trellis: Workspace Tooling for Gleam Monorepos

https://tylerbutler.com/trellis/
1•crowdhailer•40m ago•0 comments

Backlink Exchange for Indie Builders

https://github.com/nicklaunches/builders-backlinks.com
1•theorchid•40m ago•0 comments

Maximum Marginal Relevance and Elastic: Diversifying Search Results

https://www.elastic.co/search-labs/blog/maximum-marginal-relevance-diversify-results
1•ankitg12•44m ago•0 comments

Simulating Realistic Order Execution for Crypto Backtesting

https://medium.com/@DolphinDB_Inc/stop-backtesting-in-theory-simulate-the-real-crypto-market-with...
1•chaercling•48m ago•0 comments

Show HN: Focal Harvest – local web research and OSINT pipeline

https://techno-neighbour.github.io/focal-harvest/
1•xlr8_track•50m ago•2 comments

I Have Thoughts on the iPhone Air

https://christianselig.com/2026/07/iphone-air-review/
24•janandonly•51m ago•13 comments

AV1Converter

https://github.com/framicheli/av1converter
1•francescomi•51m ago•1 comments

Self-Hosting Turns Your Team into the Knowledge Base's Service Provider

https://ones.com/blog/self-hosting-turns-your-team-into-the-knowledge-bases-service-provider/
2•coding1134•56m ago•0 comments

Encrypted, but wrong: Group chats vulnerable to manipulated content

https://www.heise.de/en/news/Encrypted-but-wrong-Group-chats-vulnerable-to-manipulated-content-11...
2•codethief•1h ago•1 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".