frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Storj begins court-supervised restructuring, proposes equity for token holders

https://www.storj.io/blog/an-open-letter-to-the-storj-token-community-the-restructuring-the-netwo...
1•Manouchehri•7m ago•0 comments

Architecting Persistent Memory for Multi-Agent System [video]

https://www.youtube.com/watch?v=lw52w7Pw86M\
1•handfuloflight•11m ago•0 comments

Playing Computer Music via Am Radio on Computers Like Altair, IMSAI, PDP8, etc.

https://github.com/rcl9/Playing-Computer-Music-via-AM-Radio-on-IMSAI-8080-PDP8-Sorcerer-TRS80-etc...
1•TMWNN•13m ago•1 comments

Show HN: A macOS Port of Ventoy2disk

https://github.com/fcjr/ventoy-mac
1•fcjr•17m ago•0 comments

Sam Altman: "Never a Better Time to Do a Startup" [video]

https://www.youtube.com/watch?v=ZIaOBAjvc38
1•tvvocold•18m ago•0 comments

39,535+ hours of open robot data

https://datasets.bot/
1•ilreb•23m ago•0 comments

Walk on Decomposed Subdomains

https://clementjambon.github.io/wods/index.html#blogpost
1•E-Reverance•24m ago•0 comments

ICE launching operation in New York City

https://thehill.com/policy/national-security/5992642-ice-queens-long-island-raids/
2•Alien1Being•26m ago•0 comments

Key Considerations for On-Premises Project Management Platform Planning

https://ones.com/blog/10-key-considerations-for-on-premises-project-management-platform-planning/
1•coding1134•26m ago•0 comments

Tracked Capabilities for Safer Agents

https://martinodersky.substack.com/p/tracked-capabilities-for-safer-agents
2•matt_d•28m ago•0 comments

Street videos 'exploiting' vulnerable people

https://www.bbc.com/news/articles/c0rdglq4nvlo
1•1659447091•31m ago•0 comments

Dunning-Kruger effect is the result of statistical artifact

https://neurosciencenews.com/dunning-kruger-inversion-confidence-31132/
1•_superposition_•31m ago•0 comments

Can AMD Break the CUDA Moat? AMD Advancing AI 2026

https://newsletter.semianalysis.com/p/can-amd-break-the-cuda-moat-amd-advancing
2•gmays•37m ago•0 comments

Claude's code comments – too much or just enough?

4•lalaleslieeeee•46m ago•1 comments

CharaLab

https://aicharalab.com/
2•zzkk•50m ago•0 comments

Deep in This Lake, a Contagious Cancer Is Spreading

https://www.nytimes.com/2026/07/22/science/contagious-cancer-catfish.html
1•gmays•52m ago•0 comments

Playing with Playbook; the scheduling app for astronauts (2015)

https://blogs.esa.int/iriss/2015/09/09/playing-with-playbook/
1•prawn•56m ago•0 comments

Show HN: SeaTicket – AI agent that resolve GitHub and Discord issues

2•Daniel-Pan•58m ago•0 comments

Show HN: Coast – Turn an iPhone into a control surface for a Mac

https://coast.masn.studio
1•MasonChen•59m ago•0 comments

Ask HN: What apps are you building?

7•totaldude87•1h ago•4 comments

Using an open model feels surprisingly good

https://matthewsaltz.com/blog/using-an-open-model-feels-surprisingly-good/
47•msaltz•1h ago•19 comments

An Uncomplicated Man

https://www.lrb.co.uk/the-paper/v48/n14/emily-wilson/an-uncomplicated-man
4•andsoitis•1h ago•0 comments

Zureka: A way forward to solving the thorniest issues in quantum mechanics

https://deivondrago.substack.com/p/zureka-a-way-forward-to-solving-the
2•mellosouls•1h ago•0 comments

Is This What Comes After AI Slop?

https://www.theatlantic.com/technology/2026/07/daggermouth-novel-bestseller-ai/688067/
4•acmnrs•1h ago•1 comments

A Gang of Thieves Pulled Off a Multimillion-Dollar Data Center Heist

https://www.nytimes.com/2026/07/12/magazine/data-center-heist.html
2•acdanger•1h ago•0 comments

EYG: A Programming Language for Humans

https://crowdhailer.me/2026-06-08/a-programming-language-for-humans/
21•crowdhailer•1h ago•8 comments

A $500 RL fine-tune of a 9B open model beat frontier models on catalog review

https://fermisense.com/when-machines-take-the-wheel/
27•ilreb•1h ago•5 comments

Review: Neil Postman's 'Amusing Ourselves to Death' (2016)

https://www.refsmmat.com/posts/2016-01-23-amusing-ourselves-to-death.html
4•jruohonen•1h ago•0 comments

Fundraiser to Bolster Monero's Security Through Automated Testing

https://old.reddit.com/r/Monero/comments/1v8exyy/fundraiser_to_bolster_moneros_security_through/
2•lunarthegrey•1h ago•0 comments

Venture Mindset

https://herbertlui.net/venture-mindset/
2•herbertl•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".