frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: OmnAI – Sovereign AI infrastructure with multi-vault isolation

https://github.com/RilerCoasterBoy98765/OmnAI-v3.5
1•6teepees•4m ago•0 comments

Luddite List

https://docs.google.com/spreadsheets/d/1M_UjOPxpbKMYes5CcWRWXNXRq4ZOAAwDgQ08CIN3pec/edit?gid=7494...
1•paulorlando•6m ago•0 comments

Mathgpt.today Discord Bot

https://mathgpt.today/
1•umeedsto•6m ago•1 comments

Judge hints Vizio TV buyers may have rights to source code licensed under GPL

https://www.theregister.com/2025/12/05/vizio_gpl_source_code_ruling/
1•pabs3•10m ago•0 comments

Behold the Infamous PS2 Linux Kit [video]

https://www.youtube.com/watch?v=FQmenrPioBM
1•zdw•11m ago•0 comments

A simple idea filter that saved me months of wasted work

1•peterbricks•19m ago•0 comments

True origin of 'first black Briton' revealed

https://www.bbc.co.uk/news/articles/ce86jzgxxy4o
2•GaryBluto•21m ago•0 comments

Show HN: Aiologic – GIL-powered* locking library for Python

https://github.com/x42005e1f/aiologic
1•x42005e1f•24m ago•0 comments

Ask HN: Etiquette giving feedback on mostly AI-generated PRs from co-workers

1•chfritz•34m ago•2 comments

Eventual Rust in CPython

https://lwn.net/Articles/1046933/
1•pykello•36m ago•0 comments

Apple's Preventing Some Apps from Working on Older iPhones [video]

https://www.youtube.com/watch?v=WXqVV8_GORE
1•chii•37m ago•0 comments

Adding Dialogue to Real Video with AI

https://www.unite.ai/adding-dialogue-to-real-video-with-ai/
1•50kIters•39m ago•0 comments

Tanstack AI – open-source AI SDK

https://tanstack.com/ai/latest
1•etoxin•40m ago•1 comments

Digital detox: how to switch off without paying the price

https://theconversation.com/digital-detox-how-to-switch-off-without-paying-the-price-new-research...
4•devonnull•43m ago•0 comments

Why Your WordPress Site Needs a Paywall for Robots

https://402gate.xyz/blog/why-your-wordpress-site-needs-a-paywall-for-robots
2•thunderbong•43m ago•0 comments

How Much Energy Does One Solar Panel Produce in Australia?

3•scorpeoanlibra•47m ago•0 comments

Ringspace: A Proposal for the Human Web

https://taggart-tech.com/ringspace/
2•todsacerdoti•47m ago•0 comments

Show HN: PacketPro – Inspect iOS app network traffic locally

https://apps.apple.com/us/app/packetpro/id6755604263
1•noteable•49m ago•0 comments

Germany: Amazon is not allowed to force customers to watch ads on Prime Video

https://www.zeit.de/wirtschaft/2025-12/amazon-urteil-video-kunden-werbung
2•febed•55m ago•0 comments

Salesforce Acquires Qualified

https://www.salesforce.com/news/stories/salesforce-signs-definitive-agreement-to-acquire-qualifie...
2•brendanashworth•57m ago•1 comments

Education South Africa

https://educationsouthafrica.com/
1•NicBradley•57m ago•1 comments

You Can Use Gemini 3.0 Flash High Free on InfiniaxAI

https://infiniax.ai
1•ZacharyGolinger•1h ago•0 comments

Everyone Is Building the Wrong AI Startup

3•suhaspatil101•1h ago•1 comments

Marathon Runners May Have Higher Colon Cancer Risk

https://www.medscape.com/viewarticle/marathon-runners-may-have-higher-colon-cancer-risk-2025a1000zap
4•wjb3•1h ago•2 comments

Trendgetter - An API for getting trending content from various platforms

https://github.com/Zivsteve/trendgetter
1•zivsteve•1h ago•0 comments

Web Dev – Accessibility isn't optional

https://ross-oneill.com/blog/accessibility-isnt-optional/
2•rosswebdev•1h ago•0 comments

John Schulman on dead ends, scaling RL, building research institutions [video]

https://www.youtube.com/watch?v=29BYxvvF1iM
2•gk1•1h ago•0 comments

Extraordinary Dinosaur Fossil Site Discovered in the Hațeg Basin

https://scitechdaily.com/bones-almost-on-top-of-each-other-extraordinary-dinosaur-fossil-site-dis...
1•mhb•1h ago•1 comments

Jassy taps 27-year Amazon veteran to run AGI org

https://www.theregister.com/2025/12/17/jassy_taps_peter_desantis_to_run_agi/
2•cebert•1h ago•1 comments

Verizon refused to unlock man's iPhone, so he sued the carrier and won

https://arstechnica.com/tech-policy/2025/12/verizon-refused-to-unlock-mans-iphone-so-he-sued-the-...
6•codexjourneys•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•7mo ago

Comments

epmatsw•7mo ago
restore and maybe switch are the two missing ones I think. Rebase for me, but that’s preference. Cherry-pick too.
rentonl•7mo ago
my co-workers used to think I was an expert in git. In reality, they memorized 7 commands while I memorized 15
hbogert•7mo ago
i memorized that a commit tree is a ordered set of patches. Everything goes from there.
Areibman•7mo ago
In similar fashion, this site has saved me countless hours fixing common git issues https://ohshitgit.com
the__alchemist•7mo ago
I need to alias:

  git add .
  git commit -am "descriptive name"
  git push

to:

  git sync "descriptive name"
horsawlarway•7mo 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•7mo 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•7mo 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•7mo ago
That sounds better but I like the granularity I get from scrutinizing specific files or the patch takes too long to review.
speff•7mo 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•7mo 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•7mo 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•7mo ago
Maybe not essential, but reflog is invaluable.

I also like to separate fetch from pull (fetch + merge).

foobarkey•7mo ago
Remove merge and add rebase and we agree :)

Oh and maybe cherry-pick

seba_dos1•7mo ago
Both are essential.
realaleris149•7mo ago
There are other commands?
incomplete•7mo 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•7mo ago
i can't take this seriously if there's no mention of the '--amend' option and 'rebase' command
OutOfHere•7mo ago
It missed "git switch" and "git restore".