Skip to content

Commit d9621e2

Browse files
committed
feat: workflow to rebase master into current branch
1 parent 82c3bdd commit d9621e2

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Set master as upstream and rebase master into feature branch
3+
command: |-
4+
git branch -u master
5+
git checkout master
6+
git pull
7+
git checkout {{featurebranch}}
8+
git pull --rebase
9+
tags:
10+
- git
11+
description: Rebases master into the feature branch
12+
arguments:
13+
- name: featurebranch
14+
description: The branch name that you're currently developing on
15+
default_value: ~
16+
source_url: ""
17+
author: Zheng Tao
18+
author_url: "https://www.linkedin.com/in/zheng-tao-2b7b2855"
19+
shells: []

0 commit comments

Comments
 (0)