frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

"Building a Self-Sustaining Trading and Learning Ecosystem"

1•MIKAxGSF•1m ago•0 comments

Modernizing my "150-line" Python search engine

https://bart.degoe.de/modernizing-python-search-engine/
2•bartdegoede•1m ago•1 comments

A New Chapter for Gather

https://www.gather.town/blog/new-chapter
1•zodo123•2m ago•0 comments

MySQL Foreign Key Cascade Operations Hit the Binary Log

https://readyset.io/blog/mysql-9-6-foreign-key-cascade-operations-finally-hit-the-binary-log
1•marceloaltmann•3m ago•0 comments

Visualizing OpenClaw

https://twitter.com/dom_scholz/status/2020936942901395487
2•tosh•4m ago•0 comments

Google sued by Autodesk over movie-making software called Flow

https://www.reuters.com/legal/litigation/google-sued-by-autodesk-over-ai-powered-movie-making-sof...
2•smurda•6m ago•0 comments

Treat OpenClaw as untrusted intern with Persistent Id and Ephemeral credentials

https://twitter.com/sathish316/status/2019496552419717390
1•sathish316•6m ago•1 comments

Hobbyist rescues $500 of RAM from local landfill in "major haul"

https://www.windowscentral.com/hardware/hobbyist-major-haul-dump-ram-hardware
2•randycupertino•7m ago•0 comments

Show HN: A forced ranking exercise to stop priority inflation

https://www.cognu.app/what-comes-first
1•anticlickwise•8m ago•1 comments

Verifying Distributed Protocols in Veil

https://proofsandintuitions.net/2026/02/09/distributed-verification-veil/
1•matt_d•10m ago•0 comments

Nim's YRC: A safe multi-threaded cycle collector

https://forum.nim-lang.org/t/13706
1•michaelsbradley•11m ago•1 comments

Show HN: Long-running unsupervised agent framework

https://github.com/johndaskovsky/nightshift
1•johndaskovsky•11m ago•1 comments

How to Tell You're Being Manipulated by a Story

https://thinkbigpicture.substack.com/p/ice-trump-pretti-propaganda-manipulation
4•jethronethro•12m ago•0 comments

The friction between AI coding agents and developer flow

https://medium.com/@gauravnigam/the-quiet-rebellion-against-ai-coding-agents-why-engineers-keep-h...
1•ThierryBuilds•13m ago•0 comments

MIT Living Wage Calculator

https://livingwage.mit.edu/
2•bear_with_me•13m ago•0 comments

New service lets agents hire Fiverr workers in USDC

https://hirewithlocus.com/
2•albanberg1•15m ago•0 comments

Hands-On with Highguard: The Apex Devs' Wild New Shooter Deserves a Chance

https://kotaku.com/highguard-impressions-titanfall-2-apex-multiplayer-shooter-2000663136
1•PaulHoule•16m ago•0 comments

Show HN: EU AI Act Layer – Free Compliance Checker

https://www.x-loop3.com/free/eu-ai-act-lite#download
1•X-Loop3•16m ago•0 comments

Living in the Inflection Point

https://brittanyellich.com/living-in-the-inflection-point/
1•cyndunlop•20m ago•0 comments

13 Hype-free lessons from 1 year of 100% AI-generated code

https://qaishweidi.com/posts/2026/13-lessons-ai-code-1-year/
1•QaisHw•22m ago•0 comments

Instagram is internally testing a new Snapchat rival app

https://www.businessinsider.com/instagram-meta-working-on-internal-prototype-disappearing-message...
1•pseudolus•22m ago•0 comments

AI doesn't replace jobs: it removes the constraint that created them

https://briefings.canaryiq.com/p/the-invisible-governor
2•mintone•23m ago•0 comments

Linker Script Generation for Firmware Projects: A Primer

https://dnedic.github.io/blog/firmware-linker-script-generation/
1•dnedic•23m ago•0 comments

Show HN: Pluto – open-source Experiment Tracker for Neptune users

https://github.com/Trainy-ai/pluto
2•roanakb•23m ago•0 comments

Alphabet (Googl) Plans Tech's First 100-Year Bond Since Dot-Com Era

https://www.bloomberg.com/news/articles/2026-02-09/alphabet-mandates-banks-for-rare-100-year-ster...
1•corvad•23m ago•1 comments

I woke up to 77 pull requests

https://zachwills.net/building-at-the-speed-of-thought/
1•deveng24•25m ago•0 comments

Ring Doorbell's 'dystopian' Super Bowl ad is sparking privacy concerns

https://www.tyla.com/news/super-bowl-ring-doorbell-ad-privacy-concerns-099156-20260209
5•randycupertino•26m ago•1 comments

Understanding Green Day's "Holiday" [video]

https://www.youtube.com/watch?v=163MUrEoj5Y
1•cameron_b•26m ago•0 comments

ClawTime – An 1-on-1 visual and audio interface for you and your AI agent

https://github.com/youngkent/clawtime
1•tongkeyun•27m ago•0 comments

Show HN: SDF Protocol – Pre-compiled semantic JSON for AI agent web consumption

https://sdfprotocol.org/
1•spranab•29m ago•2 comments
Open in hackernews

Git Commands That Cover 90% of a Developer's Daily Workflow

https://jsdev.space/15-git-commands/
29•javatuts•9mo ago

Comments

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

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

to:

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

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

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

Oh and maybe cherry-pick

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