中文 | English
Label Push could add a label text to your latest commit message and then push.
What for? E.g., you could add a "build" label to trigger the CI/CD Pipeline when you want.
- Add a label text to your latest commit message and then push.
- Create an empty commit with the label when there are no new commits locally.
- Pull automatically if necessary to make sure the label is added to the latest commit.
- You can choose whether to commit the changes already staged.
- You can choose whether to publish the branch that does not exist, or was deleted in the remote repository.
- The label text is configurable.
You have several ways to use Label Push:
-
Open the Command Palette (Ctrl+Shift+P / ⌘+Shift+P) and type
Label Push
. -
Click "Label Push" in the status bar:
-
Click the Label Push icon in the Source Control view, as shown below:
Thanks for the following projects, which inspired me a lot:
The icons used are from IconPark from Bytedance.