frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The World Leaks Intent

https://entropylogy.substack.com/p/the-world-leaks-intent
1•swishappio•41s ago•0 comments

A stable static site generator in Zig

https://gesttalt.org/
1•pepibumur•1m ago•0 comments

Show HN: Achromatic – AI Ready Next.js 16 Starter Kit

1•mjomaa•2m ago•0 comments

Verizon, AT&T, and T-Mobile are all having outages now

https://www.howtogeek.com/verizon-att-and-t-mobile-are-all-having-outages-right-now/
2•joering2•4m ago•0 comments

Verizon Outage Affects Users, Tracking Site Shows

https://www.nytimes.com/2026/01/14/business/verizon-outage-downdetector.html
3•jaredwiener•5m ago•0 comments

Useful Chrome DevTools Features You Might Be Missing

https://jsdevspace.substack.com/p/9-useful-chrome-devtools-features
1•javatuts•5m ago•0 comments

World Logic Day 2026

https://worldlogicday.com/
2•tacon•6m ago•1 comments

The unexpected alcohol in everyday food and drink

https://steadydrinker.com/articles/foods-drinks-alcohol/
2•truth_seeker•7m ago•0 comments

Metal Gear Solid (PS1) could switch out a player's TV

https://infosec.exchange/@SecurityWriter/115791488596455266
1•alberto-m•8m ago•0 comments

A Chrome extension that adds power features to ChatGPT

https://chromewebstore.google.com/detail/chatgpt-power-supercharge/boadmpgcibaekkfjllnahedejfgeehga
1•nitrotechgames•8m ago•1 comments

Advocacy groups call on Apple, Google to drop X and Grok from app stores

https://www.reuters.com/sustainability/society-equity/womens-advocacy-groups-call-apple-google-dr...
2•SilverElfin•8m ago•1 comments

Risk to AI investors, IDed via my Microsoft-/Amazon-/VC-praised AI-preneurship

https://frankruscica.substack.com/p/risk-to-ai-investors
1•frankruscica•9m ago•0 comments

Six Principles for More Rigorous Evaluation of Cognitive Capacities

https://aiguide.substack.com/p/on-evaluating-cognitive-capabilities
1•stephendause•9m ago•0 comments

Blocking Countries Because of Scrapers

https://www.coryd.dev/posts/2026/blocking-entire-countries-because-of-scrapers
1•cdrnsf•10m ago•0 comments

Ask HN: How do you safely give LLMs SSH/DB access?

1•nico•10m ago•1 comments

US to suspend immigrant visa processing for 75 nations, State Department says

https://www.reuters.com/world/us/us-suspend-visa-processing-75-nations-next-week-fox-news-reports...
8•Imustaskforhelp•13m ago•3 comments

Show HN: Nuria – Build better eating habits with photo, text, or voice tracking

https://nuria.info
2•pavelmolodecfd•14m ago•1 comments

Firebase Data Connect: Build secure, scalable apps on PostgreSQL

https://firebase.google.com/products/data-connect
1•tosh•15m ago•0 comments

Pushing Frontier AI to Its Limits

https://blog.duyet.net/2026/01/ai/
1•duyet•15m ago•0 comments

Show HN: ViaHuman, app for LLMs to send me notifications

https://www.viahuman.xyz/
1•pdrojack•18m ago•0 comments

East coast. Verizon outage in US

https://www.firstcoastnews.com/article/news/nation-world/verizon-outage-reported/507-ef3cb3d0-f59...
18•Scubabear68•19m ago•5 comments

Critical analysis of digital euro published

https://www.taler.net/en/news/2026-02.html
3•F3nd0•19m ago•1 comments

Ask HN: Any evidence AI coding assistants are helping open source projects?

3•UncleOxidant•21m ago•0 comments

Show HN: Repomance: A Tinder style app for GitHub repo discovery

https://apps.apple.com/us/app/repomance/id6756920720
3•masterpos•22m ago•0 comments

How the age of motoring shaped our modern world

https://www.bbc.com/news/articles/c62d5wg4lypo
2•Stratoscope•22m ago•0 comments

NASA to Develop Lunar Reactor by 2030

https://www.nasa.gov/news-release/nasa-department-of-energy-to-develop-lunar-surface-reactor-by-2...
2•ghostoftiber•23m ago•1 comments

Generative Video Compression: 0.01% Compression Rate for Video Transmission

https://www.alphaxiv.org/overview/2512.24300v1
1•ksec•24m ago•0 comments

Gamers Overwhelmingly Hate Gen AI in Games, Major Industry Report Finds

https://wjamesau.substack.com/p/gamers-overwhelmingly-hate-gen-ai
2•SLHamlet•24m ago•0 comments

What Is Maintenance, Anyway?

https://blog.rust-lang.org/inside-rust/2026/01/12/what-is-maintenance-anyway/
2•weinzierl•24m ago•0 comments

Show HN: 'Irrational' Tools – Perception-first color/image utilities

https://irrationaltools.com/color-palette-generator/
1•piyush_soni•24m 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".