File tree Expand file tree Collapse file tree 1 file changed +30
-1
lines changed Expand file tree Collapse file tree 1 file changed +30
-1
lines changed Original file line number Diff line number Diff line change 1- Commit, push, pull request
1+ Commit, push, pull request
2+
3+ ## Usage
4+ ```
5+ /cpp [in branch <branch-name>]
6+ ```
7+
8+ ## Description
9+ Commits the current changes, pushes to remote, and creates a pull request.
10+
11+ ## Optional Arguments
12+ - ` in branch <branch-name> ` - Specifies the target branch to use for the commit, push, and PR
13+
14+ ## Branch Handling
15+ When a branch name is provided:
16+ 1 . ** Branch doesn't exist locally or remotely** : Creates a new branch with the specified name
17+ 2 . ** Branch exists locally** : Switches to that branch
18+ 3 . ** Branch exists only remotely** : Checks out the remote branch locally
19+
20+ ## Examples
21+ ``` bash
22+ # Commit, push, and PR on current branch
23+ /cpp
24+
25+ # Commit, push, and PR on specific branch (creates if doesn't exist)
26+ /cpp in branch ios-5364-add-claude-to-gh-actions
27+
28+ # Commit, push, and PR on existing branch
29+ /cpp in branch develop
30+ ```
You can’t perform that action at this time.
0 commit comments