frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

If You're Going to Vibe Code, Why Not Do It in C?

https://stephenramsay.net/posts/vibe-coding.html
1•sramsay•2m ago•0 comments

Facilitating AI Adoption at Imprint

https://lethain.com/company-ai-adoption/
1•Kaedon•2m ago•0 comments

Google's AI training tactics land it in another EU antitrust fight

https://www.theregister.com/2025/12/09/eu_google_ai_antitrust/
1•Bender•3m ago•0 comments

Show HN: I built an AI tool that tracks competitor changes in real time

https://usesignallabs.com/the-ci-treadmill-is-broken-why-battlecards-age-in-days-not-quarters
1•emre94•3m ago•0 comments

Activist groups urge Congress to pause US datacenter buildouts

https://www.theregister.com/2025/12/09/datacenter_pause_congress_help/
1•Bender•4m ago•0 comments

Google says Chrome's new AI creates risks only more AI can fix

https://www.theregister.com/2025/12/09/google_fortifies_chrome_ai_with/
1•Bender•4m ago•0 comments

PeerTube is recognized as a digital public good by Digital Public Goods Alliance

https://www.digitalpublicgoods.net/r/peertube
1•fsflover•4m ago•0 comments

DHH and Open Source

https://ma.tt/2025/12/dhh-open-source/
1•coloneltcb•4m ago•0 comments

Angus Barbieri's Fast

https://en.wikipedia.org/wiki/Angus_Barbieri%27s_fast
1•airstrike•5m ago•0 comments

Researchers unveil groundbreaking technology that could

https://www.thecooldown.com/green-tech/silver-ion-dendrite-growth-lithium-metal-batteries/
1•bilsbie•5m ago•0 comments

200k Tokens Is Plenty

https://ampcode.com/200k-tokens-is-plenty
1•misternugget•5m ago•0 comments

Let users zoom in on mobile devices

https://idiallo.com/blog/let-user-zoom-in-on-mobile
1•speckx•5m ago•0 comments

The Linux Foundation Launches the Agentic AI Foundation

https://aaif.io/
1•evantahler•6m ago•1 comments

Mushroom causes fairytale-like hallucinations – theU

https://attheu.utah.edu/science-technology/mushroom-causes-fairytale-like-hallucinations/
1•bilsbie•6m ago•0 comments

Donating the Model Context Protocol and Establishing the Agentic AI Foundation

https://www.anthropic.com/news/donating-the-model-context-protocol-and-establishing-of-the-agenti...
1•meetpateltech•7m ago•0 comments

JetBrains DataSpell 2025.3

https://blog.jetbrains.com/dataspell/2025/12/dataspell-2025-3-visualization-cells-multi-agent-sup...
1•AlexPl292•9m ago•0 comments

Think First, AI Second – keeping your cognitive edge while leveraging AI

https://every.to/p/think-first-ai-second
1•ChrisArchitect•10m ago•0 comments

OpenAI Co-Founds the Agentic AI Foundation Under the Linux Foundation

https://openai.com/index/agentic-ai-foundation
1•meetpateltech•10m ago•0 comments

Show HN: A Simple Weekly Launch Platform for Solo Founders

https://sololaunches.com
1•Sharanxxxx•11m ago•0 comments

TChat – A Privacy-First Terminal AI Assistant Built with Go, Genkit, and Ollama

https://github.com/vnaveen-mh/tchat
1•vnaveen9296•11m ago•0 comments

Show HN: Tool to Submit Your Startup to 100 High-DR Directories

https://listmy.site
1•Sharanxxxx•13m ago•0 comments

Reddit making global changes to protect kids after social media ban

https://9to5mac.com/2025/12/09/reddit-making-global-changes-to-protect-kids-after-social-media-ban/
1•akyuu•13m ago•0 comments

Show HN: We vibe coded our team's issue tracker, knowledge base, telemetry board

3•bhackett•14m ago•0 comments

Trains on a Map

https://www.map.signalbox.io/
2•techterrier•16m ago•0 comments

A Comprehensive Guide to How 2 and 4 Stroke Engines Work and Differ [video]

https://www.youtube.com/watch?v=eKUEZY3R3cI
2•lisper•16m ago•0 comments

Show HN: Presently: A holiday gift tracker that isn't a spreadsheet

https://presently.us
1•moridin•17m ago•0 comments

Cybercrims Arrested, Accused of Plotting 'violence-as-a-service'

https://www.theregister.com/2025/12/08/european_cops_arrest_193/
2•andrewl•17m ago•0 comments

Show HN: Agentic Reliability Framework – Multi-agent AI self-heals failures

https://github.com/petterjuan/agentic-reliability-framework
2•petter2025us•18m ago•1 comments

Boomerang – New file-sharing service by WeTransfer founder

https://bmrng.me/
2•uijl•18m ago•0 comments

Show HN: Construct – API-first coding assistant with CodeAct tool calling

https://github.com/Furisto/construct
2•furisto•19m 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•7mo ago

Comments

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

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

to:

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

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

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

Oh and maybe cherry-pick

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