frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Obscene images: X admits its mistake and stated it would comply with Indian law

https://timesofindia.indiatimes.com/india/obscene-image-row-x-admits-mistake-thousands-of-posts-o...
1•throwaway110001•3m ago•0 comments

Photos of the Forgotten

https://www.synthetrix.com/potf.html
1•exvi•7m ago•0 comments

'Fuck You, Make Me' Without Saying the Words

https://daringfireball.net/2026/01/fuck_you_make_me_without_saying_the_words
1•nopakos•12m ago•1 comments

Show HN: I built an Instagram-style productivity app with gamification

https://apps.apple.com/us/app/lockin-social-productivity/id6742454713
1•mandynoee•26m ago•1 comments

The Concise TypeScript Book

https://github.com/gibbok/typescript-book
4•javatuts•31m ago•1 comments

Worktrunk – A CLI tool to manage multiple worktrees in Git repositories

https://github.com/max-sixty/worktrunk
1•javatuts•31m ago•0 comments

Jupyter Agents: training LLMs to reason with notebooks

https://huggingface.co/blog/jupyter-agent-2
1•walterbell•33m ago•0 comments

What's the end game for Ghost newsletter sign-up spam?

https://www.autodidacts.io/ghost-newsletter-sign-up-spam/
1•Curiositry•33m ago•0 comments

A multimodal sleep foundation model for disease prediction

https://www.nature.com/articles/s41591-025-04133-4
1•gnabgib•33m ago•0 comments

Quake 1 Single-Player Map Design Theories (2001)

https://www.quaddicted.com/webarchive//teamshambler.planetquake.gamespy.com/theories1.html
1•Lammy•39m ago•0 comments

Panoply of the Weird

https://www.nybooks.com/articles/2026/01/15/panoply-of-the-weird-fitz-james-obrien/
1•mitchbob•42m ago•1 comments

Sovereign Tech Fund: Strategic investments in the digital infrastructure

https://www.sovereign.tech/programs/fund
1•teleforce•43m ago•1 comments

Show HN: WinBorg, a beautiful alternative to Vorta for BorgBackup

https://github.com/robotnikz/WinBorg
2•robotnikz•48m ago•0 comments

Reversible Computation as a software construction paradigm

1•Nivdc•50m ago•1 comments

Writing First, Tooling Second

https://susam.net/writing-first-tooling-second.html
2•Brajeshwar•53m ago•0 comments

How can I grep for lines containing foo AND bar, foo OR bar?

https://mywiki.wooledge.org/BashFAQ/079
1•kamaraju•56m ago•0 comments

Show HN: Cortex – Android Notification manager with on-device LLM

https://play.google.com/store/apps/details?id=xyz.moyelauncher.cortex&hl=en_US
1•0xManjeet•1h ago•0 comments

Apple Wallet Storage Bug Is Filling Up iPhone Space for Some Users

https://www.macobserver.com/news/apple-wallet-storage-bug-is-filling-up-iphone-space-for-some-users/
3•ksec•1h ago•2 comments

Show HN: DreamForge – AI dream journal that turns dreams into art

https://dream-forge.me
1•KenzoArai•1h ago•0 comments

Court rejects NVIDIAs attempt to seal email chain with Annas Archive [pdf]

https://storage.courtlistener.com/recap/gov.uscourts.cand.426191/gov.uscourts.cand.426191.222.0.pdf
3•1vuio0pswjnm7•1h ago•1 comments

Show HN: MCP Server for AI Agents to Publish on WriteFreely

https://github.com/laxmena/writefreely-mcp-server
1•laxmena•1h ago•0 comments

My Beef with the iOS 26 Tab Bar

https://ryanashcraft.com/ios-26-tab-bar-beef/
3•ksec•1h ago•0 comments

Tom Verlaine was a mystery. His archives reveal more of his story

https://www.nytimes.com/2026/01/09/arts/music/tom-verlaine-television-archives.html
1•tintinnabula•1h ago•0 comments

I build products to get "unplugged" from the internet

https://getunplugged.io/I-build-products-to-get-unplugged
2•keplerjst•1h ago•0 comments

New year's resolutions are arbitrary, and that's okay

https://bobbiechen.com/blog/2026/1/10/new-years-resolutions-are-arbitrary-and-thats-okay
1•bobbiechen•1h ago•0 comments

Show HN: AI Character Generator for Fashion Model Shots and Consistent Avatars

https://characteraigc.com
1•jokera•1h ago•0 comments

How to Disable Gemini on Android, Gmail, Chrome, Photos, & Google Apps

https://tuta.com/blog/how-to-disable-gemini-on-android
1•dotcoma•1h ago•0 comments

Show HN: Kings vs. Knight

https://minichessgames.com/#/play/kings-vs-knight
1•patrickdavey•1h ago•1 comments

Show HN: Shelfarr is an open source audiobook renamer tool

https://github.com/VacantlyCrushing/Shelfarr
1•vcrushing•1h ago•0 comments

'The answer cannot be nothing': The battle over Canada's mystery brain disease

https://www.bbc.com/news/articles/c623r47d67lo
53•lewww•1h ago•10 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".