Skip to content
Back to skills

1042 Sync Branch 6333fd48

ASecurity

Sync feature branch with the latest main branch.

  • 11 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 11, 2026
toolsbashgit

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 1042-sync-branch_6333fd48 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 1042 Sync Branch 6333fd48?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 1042 Sync Branch 6333fd48
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-1042-sync-branch-6333fd48/badge)](https://www.skillsdirectory.com/skills/tools-only-1042-sync-branch-6333fd48)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
description: Sync feature branch with the latest main branch.
argument-hint: [target]
---

1. Fetch latest upstream refs: `git fetch origin --prune`.
2. Identify target branch (default `main`, or override via argument).
3. Rebase current branch onto target:
   ```bash
   git rebase origin/${target:-main}
   ```
4. Resolve any conflicts
5. Force-with-lease push to update the PR:
   ```bash
   git push --force-with-lease origin $(git branch --show-current)
   ```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.