frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: Gitego – Automatic Git identity switcher

https://github.com/bgreenwell/gitego
1•w108bmg•1h ago
# gitego: Automatic Git Identity Switcher

I was juggling work and personal GitHub accounts with separate PATs for a long time and constantly forgetting to switch between them. Needed a way to commit to personal and work projects without the mental overhead of managing two Git identities.

My issue:

```

cd ~/work/important-project

git push

# Authentication failed - using personal PAT for work repo

```

Then the dance:

```

git config user.email "work@company.com"

# Update Git credential helper or remember which PAT to use

# Rinse and repeat every time I switch contexts

```

My solution (I'm sure others exist?)

```

# One-time setup

gitego add work --name "John Doe" --email "john@company.com" --pat "ghp_work_token"

gitego add personal --name "John" --email "john.personal@gmail.com" --pat "ghp_personal_token"

gitego auto ~/work/ work

gitego auto ~/personal/ personal

# Now it just works cd ~/work/any-project

git commit -m "fix bug" && git push # Uses work identity + PAT automatically

cd ~/personal/side-project

git commit -m "new feature" && git push # Uses personal identity PAT automatically

```

How It Works

- Uses Git's native `includeIf` for identity switching

- Acts as a Git credential helper for automatic PAT selection

- Stores PATs securely in your OS keychain

- Single Go binary, works on macOS/Windows/Linux

No more context switching overhead. Just cd and commit.

GitHub: https://github.com/bgreenwell/gitego

Install: go install github.com/bgreenwell/gitego@latest

Feedback welcome!

Keep in mind, I built this as a personal tool, making it public in case others have the similar problems and can benefit from the solution!

Management of IP numbers by peg-DHCP (1998)

https://datatracker.ietf.org/doc/html/rfc2322
1•sjmulder•3m ago•0 comments

Max Read's 'A Literary History of Fake Texts in Apple's Marketing Materials'

https://daringfireball.net/2025/08/max_read_literary_history_fake_apple_texts
1•Bogdanp•5m ago•0 comments

Z-Wave Reborn – Home Assistant Connect ZWA-2

https://www.home-assistant.io/blog/2025/08/13/home-assistant-connect-zwa-2/
1•mike-cardwell•6m ago•0 comments

Is McKinsey losing its crown to AI? [video]

https://www.youtube.com/watch?v=QXAXNcRs7gQ
1•mgh2•8m ago•0 comments

Amazon Ads Multi-Touch Attribution

https://arxiv.org/abs/2508.08209
1•dakial1•9m ago•0 comments

Show HN: Cinematic Rolplay with Wan 2.2

https://www.reveriedr.com
1•amit0365•9m ago•0 comments

Ask HN: Is there an AI that can read code aloud and explain it?

2•djfobbz•11m ago•0 comments

Evals as Code: CI for LLMs with Dagger

https://dagger.io/blog/evals-as-code
2•shad42•12m ago•1 comments

Ask HN: Is https://web.whatsapp.com/ loading for you atm?

1•gjvc•12m ago•1 comments

A Good Find

https://justinjackson.ca/good-find
1•mooreds•14m ago•0 comments

If You Could Fix One Thing About AI Search, What Would It Be?

1•zyruh•15m ago•0 comments

Eca: Editor Code Assistant – AI pair programming capabilities agnostic of editor

https://github.com/editor-code-assistant/eca
1•simonpure•17m ago•0 comments

Show HN: Deploy Any Web App Directly from Claude Code

https://disco.cloud/blog/deploy-any-web-app-directly-from-claude-code/
1•gregsadetsky•18m ago•0 comments

The Tulpa in Your Pocket

https://default.blog/p/the-tulpa-in-your-pocket
1•exolymph•19m ago•0 comments

Water Cremation (Alkaline Hydrolysis)

https://en.wikipedia.org/wiki/Water_cremation
1•1659447091•19m ago•0 comments

Temporary tattoo could detect an unwanted drug in your drink

https://phys.org/news/2025-07-temporary-tattoo-unwanted-drug.html
3•wglb•24m ago•1 comments

How I Use Computers Now [video]

https://www.youtube.com/watch?v=x-sW4sKZocA
1•abhi_kr•25m ago•0 comments

Memento Mori (Short Story)

https://en.wikipedia.org/wiki/Memento_Mori_(short_story)
1•mooreds•25m ago•0 comments

Meta's superintelligence isn't here yet but its AI bets are already paying off

https://www.cnn.com/2025/07/30/tech/meta-ai-superintelligence-earnings
1•heresie-dabord•25m ago•0 comments

NIST Finalizes 'Lightweight Cryptography' Standard to Protect Small Devices

https://www.nist.gov/news-events/news/2025/08/nist-finalizes-lightweight-cryptography-standard-protect-small-devices
13•gnabgib•28m ago•0 comments

Tony Hoare on record handling. (1965)

https://dl.acm.org/doi/10.5555/1061032.1061041
2•fanf2•29m ago•1 comments

Job board for hidden PERM jobs (H1B)

https://twitter.com/JobsNowPR/status/1955441813579321352
1•exolymph•31m ago•0 comments

Tensor Auto Demo Video

https://www.youtube.com/watch?v=nJaJi5F6cak
1•didip•33m ago•0 comments

Show HN: Videolangua – end-to-end video translate and subtitle/ dub

https://videolangua.com/
1•3Sophons•33m ago•0 comments

A Conjecture Regarding SMT Instability [pdf]

https://ceur-ws.org/Vol-4008/SMT_paper21.pdf
1•luu•34m ago•0 comments

Humans, not glacial transport, brought bluestones to Stonehenge (new research)

https://phys.org/news/2025-07-humans-glacial-brought-bluestones-stonehenge.html
2•wglb•34m ago•1 comments

Edcapit Presented Its Project at Keiretsu Forum Texas (USA)

https://www.edcapit.com/2025/08/12/📢-edcapit-presented-its-project-at-keiretsu-forum-texas-usa/
1•edcapit•35m ago•3 comments

All Souls exam questions and the limits of machine reasoning

https://resobscura.substack.com/p/all-souls-exam-questions-and-the
2•benbreen•37m ago•0 comments

The quiet work of changing your mind

https://mfelix.org/stories/quiet-work-of-changing-your-mind/
1•objcts•39m ago•0 comments

Gemini rolling out personalization based on your chat history

https://arstechnica.com/ai/2025/08/google-gemini-will-now-learn-from-your-chats-unless-you-tell-it-not-to/
2•nevir•40m ago•0 comments