Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wy-luke/label-push

Add a "label" string to your latest commit message and then push.
https://github.com/wy-luke/label-push

ci ci-cd cicd commit commit-message commits git pipeline pipelines visual-studio-code vs vscode vscode-extension

Last synced: about 1 month ago
JSON representation

Add a "label" string to your latest commit message and then push.

Awesome Lists containing this project

README

        

# Monorepo for Label Push


中文 &nbsp | &nbsp English

[![Auto Release](https://github.com/wy-luke/label-push/actions/workflows/release.yml/badge.svg)](https://github.com/wy-luke/label-push/actions/workflows/release.yml)
[![Auto Publish](https://github.com/wy-luke/label-push/actions/workflows/publish.yml/badge.svg)](https://github.com/wy-luke/label-push/actions/workflows/publish.yml)

**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.

## Features

- 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.

## Usage

You have several ways to use **Label Push**:

1. Open the Command Palette (Ctrl+Shift+P / ⌘+Shift+P) and type `Label Push`.
2. Click "Label Push" in the status bar:

![Status Bar Menu](https://github.com/wy-luke/label-push/blob/main/apps/vscode/resources/status-bar.jpeg)

3. Click the Label Push icon in the Source Control view, as shown below:

![Souce Control View Navigation Menu](https://raw.githubusercontent.com/wy-luke/label-push/main/apps/vscode/resources/menu-navigation.png)

## Acknowledgements

Thanks for the following projects, which inspired me a lot:

- [Git Graph](https://github.com/mhutchie/vscode-git-graph)
- [Visual Studio Code](https://github.com/microsoft/vscode)

The icons used are from [IconPark](https://github.com/bytedance/iconpark) from Bytedance.