frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

It's Good Enough (2014)

https://karl-voit.at/2014/02/08/good-enough/
1•Antibabelic•1m ago•0 comments

Article by article, how Big Tech shaped the EU's roll-back of digital rights

https://corporateeurope.org/en/2026/01/article-article-how-big-tech-shaped-eus-roll-back-digital-...
1•robtherobber•2m ago•0 comments

Open-Science-Land

https://expedition-open-science.org/
1•Tomte•4m ago•0 comments

Show HN: Tarantillo – Create beautiful AI videos with granular slide control

https://tarantillo.com
1•programad•8m ago•0 comments

A new paradigm for cloud-native infrastructure (2025)

https://blog.rackspacecloud.com/blog/2025/11/24/a_new_paradigm_for_cloud-native_infrastructure
1•shscs911•10m ago•0 comments

Select Wat from SQL;

https://scattered-thoughts.net/writing/select-wat-from-sql/
1•fanf2•13m ago•0 comments

Show HN: Enjoy – A gamified GitHub repo where contributions earn karma

https://github.com/fabriziosalmi/enjoy
1•fab_space•15m ago•0 comments

Static site search without JavaScript (Perl + FastCGI + SA index)

https://www.asciimx.com/log/site-search/
2•kovac•15m ago•1 comments

ZeroDP: Just-in-Time Weight Offloading over NVLink for Data Parallelism

https://mainlymatmul.com/blog/zerodp/
1•mezark•17m ago•0 comments

Why Young Danes Are Still Having Sex

https://spectator.com/article/gen-z-as-is-well-known-is-having-significantly-less-sex-than-their-...
4•barry-cotter•18m ago•1 comments

Hackers claim to have Target source code for sale following recent cyberattack

https://www.techradar.com/pro/security/hackers-claim-to-have-target-source-code-for-sale-followin...
1•01-_-•24m ago•0 comments

The PS Plus Premium Problem Nobody Wants to Talk About

1•01-_-•25m ago•0 comments

Study: Ethnonationalism by Algorithm

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6065414
3•giuliomagnifico•25m ago•1 comments

Building a Personal Knowledge Base with Local Files

https://desktopcommander.app/blog/2026/01/07/build-a-personal-ai-knowledge-base-with-local-files/
1•rafaepta•26m ago•0 comments

UW ttyp0 Monospace Bitmap Fonts (v2.1)

https://people.mpi-inf.mpg.de/~uwe/misc/uw-ttyp0/
2•woffer•27m ago•0 comments

IDE-like features for your Markdown notes (LSP and CLI)

https://iwe.md
2•gimalay•28m ago•0 comments

Show HN: Professional Headshot AI – A Tool for Realistic Headshots Using AI

1•ZHUDAN509•28m ago•0 comments

Things I learned from burning myself out with AI coding agents

https://arstechnica.com/information-technology/2026/01/10-things-i-learned-from-burning-myself-ou...
2•brazukadev•28m ago•1 comments

Amazon is ending all inventory commingling as of March 31, 2026

https://twitter.com/ghhughes/status/2012824754319753456
23•MrBuddyCasino•31m ago•2 comments

Simplifying Room Planning with a Wardrobe and Drawers Set

https://dreamhomestore.co.uk/collections/bedroom-furniture-sets
1•paulsimpson3214•33m ago•1 comments

Are you tired of AI stigma?

https://slopper.robot-future.com/
2•busters4•36m ago•0 comments

We built Git-like versioning and context-aware AI for software architecture

1•SougataAS•37m ago•0 comments

Creusot: Devlog

https://creusot-rs.github.io/devlog/2026-01-19/
2•syrak•39m ago•0 comments

Washington State Bill Seeks to Add Firearms Detection to 3D Printers [pdf]

https://lawfilesext.leg.wa.gov/biennium/2025-26/Pdf/Bills/House%20Bills/2321.pdf?q=20260119041123
2•jnord•41m ago•0 comments

Developer productivity metrics are measuring you, not your team

https://dougrathbone.com/blog/2026/01/19/your-developer-productivity-metrics-are-measuring-you-no...
1•wiredone•46m ago•1 comments

'Factory flaw' spurs toy horse to instant popularity

https://www.chinadaily.com.cn/a/202601/12/WS69644af0a310d6866eb3329e.html
2•masfuerte•49m ago•0 comments

Interview with Warren Buffett: A Life and Legacy

https://podcasts.apple.com/us/podcast/warren-buffett-a-life-and-legacy-1-13-26/id1480890290?i=100...
1•sarmike31•50m ago•0 comments

I am worried about these newest Captchas

https://medium.com/the-haven/i-am-worried-about-these-newest-captchas-82d406715994
3•bryanrasmussen•50m ago•0 comments

Show HN: I made a pocket IDE for Android Developers

https://youtu.be/ToNxbKVkTic
1•0dayman•51m ago•0 comments

Weight-Loss Drugs Could Save U.S. Airlines $580M per Year

https://www.nytimes.com/2026/01/19/travel/airlines-weight-loss-drugs.html
1•mistersquid•53m 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•8mo ago

Comments

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

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

to:

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

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

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

Oh and maybe cherry-pick

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