frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Trump's suddenly softened new green card policy

https://www.washingtonpost.com/business/2026/06/05/how-big-business-tech-ai-softened-trump-new-gr...
1•andsoitis•7m ago•0 comments

Staffing and procurement strategies for fast flow

https://www.youtube.com/watch?v=ECA0E7hdmYM
1•RebootStr•8m ago•0 comments

Update on Meteorra AI – Just Shipped YouTube Video Analyser

https://www.indiehackers.com/post/i-built-an-ai-that-tells-creators-who-will-watch-their-content-...
1•MeteorraAI•9m ago•0 comments

Built GoPeek for Firefox

https://addons.mozilla.org/en-US/firefox/addon/gopeek/
1•guptalog•9m ago•0 comments

Granite Libraries and Project Granite Switch – IBM Research

https://research.ibm.com/blog/granite-libraries-project-switch
1•shallow-mind•23m ago•0 comments

A new YC tool promises "your code never leaves your machine." It does

https://twitter.com/intcyberdigest/status/2063026347522539754
1•porridgeraisin•25m ago•0 comments

YC's launches Paxel a tool that analyzes your coding sessions

https://paxel.ycombinator.com/
2•qwe----3•28m ago•0 comments

How should we teach digital research workflows to undergrad philosophy students?

1•lebronocta•33m ago•0 comments

Wabi Tek Sabi

https://www.wabiteksabi.com/index.html
1•klez•34m ago•0 comments

Educational Sticker

https://apparatverk.studio/notes/educational-sticker/
2•px00•34m ago•0 comments

"Bricks & minifigs can stuff it" – Patreon CEO [video]

https://www.youtube.com/watch?v=36jxNeV5L1Q
1•ShinyLeftPad•36m ago•0 comments

Azure Linux Desktop

https://www.boxofcables.dev/azure-linux-desktop-a-build-2026-mashup-of-wslc-winui-reactor-and-azu...
1•haydenbarnes•38m ago•0 comments

Let the agents democratize open source

https://world.hey.com/dhh/let-the-agents-democratize-open-source-9fd630a9
1•teekert•42m ago•0 comments

Magecart skimmer turns Stripe into a malware command server

https://sansec.io/research/stripe-api-skimmer-infrastructure
1•berlianta•45m ago•0 comments

Verilator Binary for Windows Without WSL or VM or OSS-CAD Suite or Perl Wrapper

https://github.com/withlimon/verilator-windows
1•limondas•45m ago•1 comments

Fixing "unfixable" 41TB BTRFS by Claude's one-shot

https://mloduchowski.com/-mounted-bitter-fs-better-with-claude/
3•qdotme•50m ago•0 comments

Download cash counter and help me

https://play.google.com/store/apps/details?id=com.logicforge.bdcash&hl=en_US
1•bdcashcounter•55m ago•0 comments

Turn HAR Files, Claude Code, Copilot CLI, and Codex CLI Logs into ATIF

https://github.com/waldekmastykarz/atifact
1•waldekm•55m ago•0 comments

Show HN: Sidekick – The zot coding agent, one click away on macOS

https://github.com/patriceckhart/zot-sidekick
10•patriceckhart•56m ago•0 comments

How much did OpenAI pay for Tomoro?

https://www.aienablementinsider.com/p/how-much-did-openai-pay-for-tomoro
1•dylancollins•58m ago•0 comments

I Found the US Nuclear Detection System in Space (GPS)

https://www.youtube.com/watch?v=DjLnIb41DuQ
2•valeg•59m ago•0 comments

You can now use your Gmail account in Proton Mail

https://proton.me/blog/proton-mail-connect-gmail
3•Topfi•1h ago•0 comments

Integer Overflow in Postgres

https://www.crunchydata.com/blog/the-integer-at-the-end-of-the-universe-integer-overflow-in-postgres
2•tosh•1h ago•0 comments

AI coding agents use your technology

https://developer.microsoft.com/blog/how-ai-coding-agents-actually-use-your-technology
1•waldekm•1h ago•0 comments

The AX stack: what's fixed, where you can win

https://developer.microsoft.com/blog/the-ax-stack-whats-fixed-where-you-can-win
1•waldekm•1h ago•0 comments

New version of "peers" – the AI couple doing things

https://github.com/c0decave/peers
1•dash0r•1h ago•0 comments

Bitcoin back above $61,000 after rout leads to $1.6B liquidations

https://www.coindesk.com/markets/2026/06/06/bitcoin-back-above-usd61-000-after-rout-leads-to-usd1...
4•Varun-Sakhuja•1h ago•0 comments

Bitrig – The best way to build native Swift apps with AI

https://bitrig.com
1•Austin_Conlon•1h ago•0 comments

Are AI chatbots making us lose control of our brains?

https://www.technologyreview.com/2026/06/05/1138427/are-ai-chatbots-making-us-lose-control-of-our...
2•joozio•1h ago•0 comments

Adaptive Low-Rank Transformer with Dynamic Expert Routing for Continual Learning

https://zenodo.org/records/20064618
1•jballanc•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•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".