frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Halo BCA hubungi 0813 707 1535

1•tempusvault•1m ago•0 comments

Could Terahertz Radar in Cars Save Lives?

https://spectrum.ieee.org/terahertz-radar
1•geox•3m ago•0 comments

Evaluating the Effectiveness of LLM-Evaluators (a.k.a. LLM-as-Judge)

https://eugeneyan.com/writing/llm-evaluators/
1•jxmorris12•3m ago•0 comments

A century of utopian experiments and the fall of Llano del Rio

https://kubicki.org/letters/the-dogs-of-llano-del-rio-ii/
2•durakot•5m ago•0 comments

Flux Keyboard

https://fluxkeyboard.com/?v=0b3b97fa6688
1•weinzierl•6m ago•0 comments

Buka Blokir Kartu Debit BCA – Halo BCA

1•mdiezb•7m ago•0 comments

The Pathway to AGI Isn't Intelligence, It's Shared Cognition

https://blog.reframetech.com/the-pathway-to-agi-isnt-intelligence-its-shared-cognition
3•seikenberry•9m ago•0 comments

Typst

https://github.com/qjcg/awesome-typst
2•kekqqq•10m ago•1 comments

Layanan BCA-Mobile Terblokir hubungi 0813 707 1535

1•mdiezb•11m ago•0 comments

C++ HDL (Hardware Description Language)

https://github.com/mirekez/cpphdl
1•olvy0•13m ago•0 comments

Open Source Sustainability – My Journey

https://www.dlvhdr.me/posts/support-oss
1•dlvhdr•13m ago•0 comments

780k Windows Users Downloaded Linux Distro Zorin OS in the Last 5 Weeks

https://blog.zorin.com/2025/11/18/test-the-upgrade-from-zorin-os-17-to-18-and-celebrating-1-milli...
5•m463•16m ago•1 comments

Cloud cost analyzer – analyze, detect anomalies, nd chat with your cloud bill

https://cloud-cost.vgnsh.xyz/
1•eigen-vector•17m ago•1 comments

Could High-Speed Trains Shorten US Travel Times While Reducing Emissions?

https://www.cnn.com/interactive/2025/11/travel/us-high-speed-rail-reimagined-vis/
2•m463•23m ago•1 comments

Feeding Colorado

https://feedingcolorado.org/
2•mooreds•24m ago•0 comments

AI is coming for the world of competitive Excel

https://thehustle.co/originals/ai-is-coming-for-the-world-of-competitive-excel
2•Anon84•27m ago•0 comments

Where Are the Builders?

https://near.blog/where-are-the-builders/
2•0x79de•28m ago•0 comments

Reflexio, a retry library with backoff strategies on per-error-class basis

https://github.com/aponysus/reflexio
1•aponysus•31m ago•1 comments

The Strange and Totally Real Plan to Blot Out the Sun

https://www.politico.com/news/magazine/2025/11/21/stardust-geoengineering-janos-pasztor-regulatio...
1•domofutu•31m ago•0 comments

Politicians Need to Understand This Computer Science Concept Better (2016)

https://nautil.us/politicians-need-to-understand-this-computer-science-concept-better-236046/
2•furcyd•32m ago•0 comments

Seeking Founding Engineer (CTO Track) – Secure Digital Communications – UK Only

1•ProductMngrUK•34m ago•1 comments

Show HN: Tab Freezer – Saved 3.1GB swap with 84 tabs open

2•tech_builder_42•36m ago•0 comments

Getting Through Big, Dense, Difficult Books

https://www.nytimes.com/2025/11/18/magazine/long-difficult-books-clubs.html
2•lxm•37m ago•0 comments

KeyTips now available in Office for Mac (Windows alt-shortcuts) (2024)

https://techcommunity.microsoft.com/blog/microsoft365insiderblog/keytips-now-available-in-office-...
1•eisa01•38m ago•1 comments

Taking ASCII Drawings Seriously: How Programmers Diagram Code

https://dl.acm.org/doi/10.1145/3613904.3642683
1•andsoitis•44m ago•0 comments

Adventures in Fake Neuralese

https://justismills.substack.com/p/adventures-in-fake-neuralese
1•surprisetalk•45m ago•0 comments

Sci-Fi Story: "Happy Aliens"

https://psychotechnology.substack.com/p/sci-fi-story-happy-aliens-1830
1•surprisetalk•45m ago•0 comments

Designing a Mechanical Calculator

https://signoregalilei.com/2025/11/22/designing-a-mechanical-calculator/
1•surprisetalk•45m ago•0 comments

Hamming Questions

https://bestjelly.substack.com/p/hamming-questions
1•surprisetalk•45m ago•0 comments

Scraping via Googlebot – How is it possible?

3•devx_•46m ago•2 comments
Open in hackernews

Git Commands That Cover 90% of a Developer's Daily Workflow

https://jsdev.space/15-git-commands/
29•javatuts•6mo ago

Comments

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

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

to:

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

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

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

Oh and maybe cherry-pick

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