
sync-current-branch-to-main
by dadastudio
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
Based on repository quality metrics
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
Reviews
Reviews coming soon