frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

US public sector cyberdefenders can find vulnerabilities with Mythos in GovCloud

https://claude.com/resources/articles/claude-mythos-5-2-in-aws-govcloud
1•lumpa•2m ago•0 comments

CompMD is coming to your editor

https://compmd.dev/blog/compmd-is-coming-to-your-editor/
1•hakanserce•2m ago•0 comments

Inside Google's Plan to Turn Search into a Personal AI Agent

https://www.businessinsider.com/google-search-ai-personal-knowledge-agent-vision-2026-11
2•thm•2m ago•0 comments

UK PM cites warning AI capabilities could outpace human control

https://www.reuters.com/technology/uk-pm-cites-warning-ai-capabilities-could-outpace-human-contro...
1•thm•3m ago•0 comments

Software Engineering at the Tipping Point – Queue

https://queue.acm.org/doi/10.1145/3859252
1•rbanffy•3m ago•0 comments

Memory Safety for Skeptics – Queue

https://queue.acm.org/doi/10.1145/3773095
1•rbanffy•6m ago•0 comments

Anthropic CEO Amodei outlines plan to put 'speed limit' on AI improving itself

https://www.reuters.com/business/anthropic-adopt-waiting-period-before-using-frontier-ai-improve-...
1•gk1•10m ago•0 comments

Science publishing with AI: The banana principle

https://blog.astrost.at/u/science-publishing-with-ai-the-banana-principle/
1•buchnerjohannes•10m ago•0 comments

Ask HN: How Are You Doing?

1•Phileosopher•11m ago•1 comments

Cryptanalytic result from Anthropic: paper title leaked

https://twitter.com/justalexoki/status/2127397764250456277
3•aklein•12m ago•0 comments

Artificial 'glue' could boost IVF success

https://www.independent.co.uk/news/uk/home-news/ivf-artificial-glue-research-fertility-study-b309...
1•gmays•13m ago•0 comments

Study reveals that new US data centers would emit as much CO2 as Spain

https://www.kadoa.com/datacenter/insights/data-center-signed-load-emissions
1•hubraumhugo•13m ago•0 comments

Creating Logic Using Waves: Photonic Gates [video]

https://www.youtube.com/watch?v=ln0zZcQXv38
1•surprisetalk•14m ago•0 comments

Canada's Kepler raises $430M for the only commercial space relay besides SpaceX

https://betakit.com/keplers-430-million-usd-series-d-launches-canadian-space-tech-into-a-new-orbit/
1•seanwatson•15m ago•0 comments

P95 Bench – LLM Benchmark for Performance Test Scripts

https://p95.qainsights.com/
1•qainsights•15m ago•0 comments

Goldman Sachs values Stack Overflow, which Prosus acquired for $1.8B, at $50M

https://twitter.com/refsrc/status/2127426272737612080
4•jmsflknr•17m ago•3 comments

Comments on Anthropic's Strategy

https://www.lesswrong.com/posts/pGey3PcpSkEhoKrnW/comments-on-anthropic-s-strategy
1•gmays•17m ago•0 comments

OpenAI's new countersuit accuses Apple of 'unlawfully pressuring vendors'

https://techcrunch.com/2026/11/28/openais-new-countersuit-accuses-apple-of-unlawfully-pressuring-...
1•elo2000•17m ago•0 comments

DWP deploys 600 extra staff with services still offline after cyber attack

https://www.bbc.com/news/articles/cxvg275y9de8o
1•toomuchtodo•19m ago•1 comments

Self-improving software is inevitable

https://boristane.com/blog/self-improving-software-is-inevitable/
1•tmach32•20m ago•0 comments

A Pragmatist Approach to Scientific Inquiry in the Age of AI

https://cacm.acm.org/opinion/revisiting-pascals-wager-a-pragmatist-approach-to-scientific-inquiry...
1•rbanffy•20m ago•0 comments

macOS 27.3: New "Accessibility" Permission Warning Is Beyond Ridiculous

https://wojciechkulik.pl/blog/macos-27-3-new-accessibility-permission-warning-is-beyond-ridiculous/
1•wojciech-kulik•22m ago•0 comments

Monopoly Round-Up: How the AI Bubble Put the Federal Reserve into Crisis

https://www.thebignewsletter.com/p/monopoly-round-up-how-the-ai-bubble
2•PaulHoule•22m ago•0 comments

Do Language Models Still Need the Compiler?

https://www.alphaxiv.org/abs/2611.35246
1•camilochs•23m ago•0 comments

Show HN: Toy controlled English to Golang code

https://stated-lang.github.io/
1•artpar•23m ago•1 comments

Show HN: Local Bakery: Local AI video generator for open and cloud AI models

https://localbakery.co
14•zztopisgreat•23m ago•2 comments

Georgia Waffle House cuts cooling energy use 40% with new salt-based A/C system

https://techxplore.com/news/2026-11-georgia-waffle-house-cooling-energy.html
2•CGMthrowaway•23m ago•0 comments

Image Upscaling, Explained Visually

https://visualrambling.space/image-upscaling/
2•damarberlari•24m ago•0 comments

Show HN: Witness – Plain English to Verified Python/TS/Rust/C#/Go via Dafny+Z3

https://github.com/obsvra/witness
2•obsvra•24m ago•0 comments

Europe's Real Estate Fetish?

https://michaelhillaert1.substack.com/p/europes-real-estate-fetish
2•michaelhillaert•26m 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".