Skip to content

feat(git): add switch aliases, bump moshi-hook to 0.2.75 - #2287

Merged
shunkakinoki merged 1 commit into
mainfrom
feat/git-switch-aliases
Aug 7, 2026
Merged

feat(git): add switch aliases, bump moshi-hook to 0.2.75#2287
shunkakinoki merged 1 commit into
mainfrom
feat/git-switch-aliases

Conversation

@shunkakinoki

@shunkakinoki shunkakinoki commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Adds sw and swc git switch aliases and bumps moshi-hook to 0.2.75.


Summary by cubic

Add sw and swc git aliases for quick branch switching and creation. Update moshi-hook to 0.2.75.

  • Dependencies
    • Bumped moshi-hook to 0.2.75 and refreshed platform-specific checksums.

Written for commit 13d3fec. Summary will update on new commits.

Review in cubic

@indent-zero

indent-zero Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor
PR Summary

Refreshes the vendored gitalias.txt from upstream (adding git sw/git swc shortcuts for git switch [--create]) and bumps the moshi-hook overlay to the latest release so the binary shipped via home-manager and the Linux systemd service is current.

  • home-manager/programs/git/gitalias.txt: adds a ### switch aliases ### section with sw = switch and swc = switch --create — matches upstream GitAlias/gitalias@main byte-for-byte, so scripts/update-gitalias.sh remains idempotent.
  • overlays/default.nix: bumps moshi-hook 0.2.740.2.75 and updates all four platform sha256 hashes (Linux x86_64/arm64, Darwin arm64/x86_64), all verified against cdn.getmoshi.app.

Issues

No issues found.

CI Checks

Waiting for CI checks...

@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: fc75c2f1-0fe0-487c-ba67-19ddad6210d5

📥 Commits

Reviewing files that changed from the base of the PR and between 29f6555 and 13d3fec.

📒 Files selected for processing (2)
  • home-manager/programs/git/gitalias.txt
  • overlays/default.nix

Disabled knowledge base sources:

  • Linear integration is disabled

You can enable these sources in your CodeRabbit configuration.


📝 Walkthrough

Summary by CodeRabbit

  • New Features

    • Added Git shortcuts for switching branches and creating a new branch.
  • Updates

    • Updated the Moshi Hook package to version 0.2.75.

Walkthrough

The change adds two Git branch-switching aliases and updates the moshi-hook overlay from version 0.2.74 to 0.2.75 with new platform-specific hashes.

Changes

Git branch aliases

Layer / File(s) Summary
Branch-switching aliases
home-manager/programs/git/gitalias.txt
Adds sw for git switch and swc for git switch --create.

moshi-hook overlay

Layer / File(s) Summary
Version and source hash update
overlays/default.nix
Updates moshi-hook to version 0.2.75 and replaces hashes for Linux x86_64, Linux AArch64, Darwin AArch64, and the fallback platform.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Poem

A rabbit switches branches with a hop,
sw starts the journey; swc makes a new stop.
Moshi-hook grows to 0.2.75,
With fresh hashes ready to thrive.
Two tidy changes, in one small plot.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/git-switch-aliases

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@shunkakinoki
shunkakinoki merged commit e8cff24 into main Aug 7, 2026
30 of 32 checks passed
@shunkakinoki
shunkakinoki deleted the feat/git-switch-aliases branch August 7, 2026 03:55
This was referenced Aug 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant