Back to list
dadastudio

sync-current-branch-to-main

by dadastudio

0🍴 0📅 Jan 23, 2026

SKILL.md


name: sync-current-branch-to-main description: Switch the current git branch to main and merge it

Purpose

Merge the currently checked-out Git branch into main.

Instructions

Check git status to ensure there are no uncommitted changes: git status

Get the name of the current branch: CURRENT_BRANCH=$(git branch --show-current)

Switch to the main branch: git checkout main

Pull the latest changes from the remote main branch: git pull origin main

Merge the previously active branch into main: git merge "$CURRENT_BRANCH"

If merge conflicts occur, resolve them manually, then run: git add . git commit

Push the updated main branch to the remote repository: git push origin main

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon