frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: Kling Motion Control – Precise Motion Transfer from Video to Character

https://www.klingmotion.com/?i=d1d5k
1•lu794377•1m ago•0 comments

Advent of Code 2025: Haskell Solution Reflections for All 12 Days

https://blog.jle.im/entry/advent-of-code-2025.html
1•todsacerdoti•2m ago•0 comments

Love Actually Is Around Heathrow

https://www.heathrow.com/latest-news/love-actually-is-all-around-at-heathrow-airport
1•susam•10m ago•0 comments

Stock Success Predictor – FinSight AI

https://buy.stripe.com/6oUfZi6Xd51XeL3bxP9EI00
1•HyperScaler•13m ago•0 comments

I Built Cursor for Marketing Emails

https://www.sequenzy.com
1•nikpolale•16m ago•1 comments

A movie-like Music Video built using AI

https://www.youtube.com/watch?v=SvfCvAdxKew
1•fagnerbrack•35m ago•1 comments

China manga convention bars Japanese content amid political tensions

https://english.kyodonews.net/articles/-/67449
2•anigbrowl•39m ago•1 comments

Show HN: Calclock, Countdown/Lifeclock, Configurable

https://thysys.com/happy-new-year.html
1•HocusLocus•51m ago•0 comments

The Next-Gen Mainboard Designed with AmigaOS4 and MorphOS in Mind

https://mirari.vitasys.nl/our-story/
1•todsacerdoti•53m ago•0 comments

The Illusion of Political Independence

https://www.mdpi.com/3042-8084/1/1/3
1•PaulHoule•54m ago•0 comments

Claude-How To

https://github.com/luongnv89/claude-howto
2•handfuloflight•55m ago•0 comments

VidScore AI: Analyze your videos before you post

https://apps.apple.com/us/app/vidscore-ai-viral-analytics/id6756249746
1•gavfaro•1h ago•1 comments

Ask HN: How many HN'ers Celebrate Christmas vs. ?

4•gist•1h ago•5 comments

Coding Snake in Functional JavaScript (2018) [video]

https://www.youtube.com/watch?v=poVMBGe1THE
1•howToTestFE•1h ago•0 comments

Ask HN: How can anyone be confident in investor meetings?

2•junkaccount•1h ago•1 comments

Librarians Tired of Being Accused of Hiding Secret Books That Were Made Up by AI

https://gizmodo.com/librarians-arent-hiding-secret-books-from-you-that-only-ai-knows-about-200069...
5•vitalnodo•1h ago•3 comments

QEMU Version 10.2.0 Released

https://www.qemu.org/2025/12/24/qemu-10-2-0/
1•todsacerdoti•1h ago•0 comments

Why is Hacker News red? Christmas?

7•onesandofgrain•1h ago•4 comments

Show HN: TrafficVision.live – Watch public cameras with a cyberpunk HUD

https://trafficvision.live/
2•ieatglue•1h ago•1 comments

Abstraction use in education, transition sentences

https://lukes-blog.vercel.app/posts/007-education-and-writing
1•octopls•1h ago•0 comments

Who Watches the Waymos? I do [video]

https://www.youtube.com/watch?v=oYU2hAbx_Fc
29•notgloating•1h ago•5 comments

Investors Warn of 'Rot in Private Equity' as Funds Strike Circular Deals

https://www.nytimes.com/2025/12/24/business/private-equity-continuation-funds.html
5•jimnotgym•1h ago•0 comments

It Is Happening Here

https://newrepublic.com/article/204227/trump-immigration-nightmare-happening-here
5•tastyface•1h ago•0 comments

Schleppy AGI

https://www.seriousanimals.com/schleppy-agi/
1•derleyici•1h ago•0 comments

Silicon Valley's tone-deaf take on the AI backlash will matter in 2026

https://fortune.com/2025/12/23/silicon-valleys-tone-deaf-take-on-the-ai-backlash-will-matter-in-2...
11•howToTestFE•1h ago•0 comments

The AI Bias Before Christmas (2023) [video]

https://www.youtube.com/watch?v=7xRXYJ355Tg
1•g-b-r•1h ago•1 comments

Vitest Browser Mode Guide

https://howtotestfrontend.com/resources/vitest-browser-mode-guide-and-setup-info
1•howToTestFE•1h ago•0 comments

Show HN: 28MB local agent solves "Gravity Othello" where GPT-5.2 fails

https://github.com/ext-sakamoro/ContextDrift
1•delfines•1h ago•1 comments

The first fully CGI character is nearly 40 years old (2024)

https://screenrant.com/young-sherlock-holmes-movie-first-full-cgi-character/
2•teleforce•1h ago•0 comments

Norad Tracks Santa

https://www.noradsanta.org/en/map
2•gadiyar•1h 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".