frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Can paleontologists pinpoint the dawn of the dinosaurs?

https://www.pnas.org/post/multimedia/can-paleontologists-pinpoint-dawn-dinosaurs
1•bikenaga•1m ago•0 comments

Even Linus Torvalds is trying his hand at vibe coding (but just a little)

https://arstechnica.com/ai/2026/01/hobby-github-repo-shows-linus-torvalds-vibe-codes-sometimes/
1•nosianu•1m ago•0 comments

Common Software Project Conflicts and How to Navigate Them

https://www.stackbuilders.com/common-software-project-conflicts-and-how-to-navigate-them/
1•StackBuilders•2m ago•1 comments

Google Universal Commerce Protocol (UCP) Guide

https://developers.google.com/merchant/ucp
1•ianrahman•2m ago•0 comments

Calcpercent.net – Simple percentage calculator I built

https://calcpercent.net/
1•firstshow•4m ago•1 comments

Show HN: Debug your AI application in web browser

https://github.com/yiouli/pixie-sdk-py
1•yol•4m ago•0 comments

Show HN: SQG – Compile SQL (SQLite,DuckDB) to TypeScript/Java Code

https://sqg.dev/
1•uwemaurer•5m ago•0 comments

NetDocuments Completes Acquisition of EDOCS from OpenText

https://www.netdocuments.com/company-news/netdocuments-acquires-opentext-edocs-expands-global-reach/
1•juliusceasar•6m ago•1 comments

Solving Factorio with Terraform [video]

https://www.youtube.com/watch?v=uU06vKlCNXk
2•bananabiscuit•6m ago•0 comments

Show HN: EOS-Energy Optimization System by Nexura

https://eos-hn.vercel.app/
1•irfan_sh01•7m ago•0 comments

Are Two Heads Better Than One?

https://eieio.games/blog/two-heads-arent-better-than-one/
1•evakhoury•8m ago•0 comments

Past Tense: a language for programs never to be run again

https://github.com/rottytooth/PastTense
1•eso_eso•8m ago•0 comments

War Department Launches AI Acceleration Strategy to Secure AI Dominance

https://www.war.gov/News/Releases/Release/Article/4376420/war-department-launches-ai-acceleration...
2•SilverElfin•8m ago•1 comments

Spec Driven Development: When Architecture Becomes Executable – InfoQ

https://www.infoq.com/articles/spec-driven-development/
1•rbanffy•8m ago•0 comments

Windscribe partners with Kagi and others to create a Privacy-Focused Alliance

https://windscribe.com/blog/windscribe-partnerships/
2•wasmitnetzen•10m ago•1 comments

Taiwan Issues Arrest Warrant for OnePlus CEO for China Hires

https://www.bloomberg.com/news/articles/2026-01-13/taiwan-issues-arrest-warrant-for-ceo-of-oneplu...
3•MallocVoidstar•11m ago•1 comments

I built a free URL shortener with QR codes and tracking – looking for feedback

https://mnml.ink/
1•johnvonoakland•13m ago•1 comments

Is "AI vibe coding" making prototyping worse inside real companies?

2•arapkuliev•13m ago•0 comments

Wine 11.0 Released

https://www.winehq.org/news/2026011301
2•midzer•13m ago•0 comments

Scott Adams Dead: Dilbert Creator Was 68

https://variety.com/2026/artisans/people-news/scott-adams-dead-dilbert-creator-1236630162/
3•ohjeez•13m ago•1 comments

The Passwords I Memorise

https://alexwlchan.net/2026/memorised-passwords/
1•7777777phil•15m ago•0 comments

Community over Code EU 2026 Announced for Glasgow, Scotland

https://news.apache.org/foundation/entry/community-over-code-europe-2026-announced-for-glasgow-sc...
1•meonkeys•16m ago•0 comments

A protein found in the GI tract can neutralize many bacteria

https://news.mit.edu/2026/protein-found-gi-tract-can-neutralize-many-bacteria-0113
1•chmaynard•16m ago•0 comments

Why MCP-based ChatGPT Apps fail in practice (and a minimal working starter)

https://github.com/shuddha2021/chatgpt-app-starter-kit
1•shuddha7435•16m ago•1 comments

Streets are making it easy (or hard) to make friends

https://weshouldgettogether.com/better-places-studio/street-width-friendship
1•speckx•17m ago•0 comments

Typeclasses Prototype Java

https://mail.openjdk.org/pipermail/valhalla-dev/2026-January/017402.html
2•joe_mwangi•17m ago•1 comments

Minions of the Fuhrer

https://cinemasojourns.com/2026/01/13/minions-of-the-fuhrer/
2•jjgreen•17m ago•0 comments

End-to-End Encrypted RCS Messages Referenced in Latest iOS 26.3 Beta

https://www.macrumors.com/2026/01/13/encryption-rcs-messages-latest-ios-beta/
1•throw0101d•18m ago•0 comments

GameAgora – multiplayer gaming platform for public spaces

https://www.gameagora.com/
1•zenin•19m ago•1 comments

Show HN: Memovee – An agentic movie database

https://memovee.com/
1•zacksiri•20m 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".