frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

How I Publish Blogs from Telegram Using Cloudflare and GitHub

https://nigerianpickle.github.io/Blog/2026/09/01/how-i-publish-blogs-from-telegram-using-cloudfla...
1•nigerianpickle•1m ago•0 comments

Reconciling a term spread from two vendor yield series before trusting it

https://truthradar.xyz
1•brayden_jones•2m ago•0 comments

Upcoming changes to Rosetta support for Intel-based macOS apps

https://developer.apple.com/news/?id=w5ngl9k2
1•johnbehnke•4m ago•0 comments

Pi vs. OMP (Oh My Pi Agent)

https://composio.dev/content/pi-vs-omp
1•hantusk•4m ago•0 comments

Apple contacts management madness: losing and duplicating contacts at scale

https://keydiscussions.com/2026/09/01/apple-contacts-management-madness/
1•spenvo•5m ago•0 comments

Ish-AOK, ish resurrected with Claude

https://github.com/emkey1/ish-AOK
1•ICHx•6m ago•0 comments

Dyson Toothbrush

https://www.dyson.com/oral-care
1•7777777phil•8m ago•2 comments

ArsenalBio sheds most of staff in pivot to in vivo CAR-T

https://www.fiercebiotech.com/biotech/arsenalbio-sheds-most-staff-pivot-vivo-car-t
1•randycupertino•9m ago•1 comments

Bootleggers and Baptists

https://en.wikipedia.org/wiki/Bootleggers_and_Baptists
3•Teever•13m ago•0 comments

How does GPU recovery work with AMD GPUs on Linux?

https://timur.hu/blog/2026/how-does-gpu-recovery-work-on-amd-gpus-on-linux
1•speckx•15m ago•0 comments

A Crash Course in Predicate Logic

https://www.hillelwayne.com/post/predicate-logic/
1•tmseidman•15m ago•0 comments

Outbid for Nepal Flood Relief

2•prastik•17m ago•0 comments

We built a local first screenshot app for Mac and would love feedback

https://seal-shot.com/
1•MQChen211•20m ago•0 comments

Mutating every DNA letter of a genome shows the limits of AI

https://www.nature.com/articles/d41586-026-02609-y
1•sbulaev•20m ago•0 comments

Forgejo Might Be the Easiest Self-Hosted Git Server I've Used

https://www.virtualizationhowto.com/2026/09/i-tried-forgejo-in-my-home-lab-it-might-be-the-easies...
1•bleevht•25m ago•1 comments

The Largest Electric Aircraft Just Flew [video]

https://www.youtube.com/watch?v=nM86DBOqgPM
2•feb•25m ago•2 comments

A prompt is a probability, a gate is a guarantee

https://www.songbrain.ai/guides/prompt-probability-gate-guarantee
1•leonulicnik•26m ago•0 comments

Building a software factory for AI SDK

https://vercel.com/blog/building-a-software-factory-for-ai-sdk
1•shenli3514•27m ago•0 comments

Jensen Huang and Lisa Su Snubbed by TIME's 2026 List of Top AI Leaders

https://www.tomshardware.com/tech-industry/artificial-intelligence/jensen-huang-and-lisa-su-snubb...
1•m463•28m ago•1 comments

A Serious Look at GPT-5.6 Sol Translations

https://www.reddit.com/r/visualnovels/comments/1w1ok84/a_serious_look_at_gpt56_sol_translations/
1•Artgor•30m ago•0 comments

When the Small Web Gets an AI Door

https://sava.rocks/blog/when-the-small-web-gets-an-ai-door/
1•speckx•31m ago•0 comments

Nine Rules for Compile-Time Work with Rust Const Fn (Part 1)

https://medium.com/@carlmkadie/nine-rules-for-compile-time-work-with-rust-const-fn-part-1-a29f7dd...
1•syumei•32m ago•0 comments

X suspended 6 of our 7 openly-labeled AI accounts for "inauthentic behaviors"

https://areyto.media/x-suspensions
4•rendonroman•34m ago•1 comments

Building Scalable Control Planes

https://www.allthingsdistributed.com/2026/08/on-building-scalable-control-planes.html
1•saikatsg•34m ago•0 comments

Tiki-Taka – Football

https://en.wikipedia.org/wiki/Tiki-taka
1•manlymuppet•35m ago•2 comments

The longer version is sometimes easier to read

https://www.plainfinance.net/break-up-long-sentences-2/
2•speckx•35m ago•0 comments

Morphcpu, a 14 yr olds attempt to build a custom silicon processor from scratch

https://github.com/ranveerlabs/morphcpu
1•ranveergill•36m ago•0 comments

API Delta Manifest: Structured API Changelog for AI Agents and Devs

https://github.com/hassan-jahan/api-delta-manifest
2•mehraban•36m ago•0 comments

Scientists Hunting Dark Matter Found Something Strange

https://www.nytimes.com/2026/09/01/science/dark-matter.html
4•marcusverus•36m ago•1 comments

codex-remote-control – Use Claude's Remote Control with Codex Sessions

https://github.com/sahrizvi/codex-remote-control
1•sahrizv•36m 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•1y ago

Comments

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

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

to:

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

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

foobarkey•1y ago
Remove merge and add rebase and we agree :)

Oh and maybe cherry-pick

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