Skip to content
/ gtag Public

Automate your Git tagging workflow.

License

Notifications You must be signed in to change notification settings

chebread/gtag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gtag

gtag is a Git tagging automation tool for blog posts. Developed with github.com/chebread/lx.

Features

  • Auto-incrementing Suffix: Automatically handles post/YYYY-MM-DD-NN format.
  • Smart Reset: Suffix resets to 01 every new day.
  • Remote Awareness: Safely handles operations even if origin is missing.

Installation

brew tap chebread/gtag
brew install gtag

Usage

1. Create Tag

Generates the next sequential tag for today (e.g., -01, -02).

gtag tag

2. Push Tag

Pushes the most recent post/* tag to the origin remote.

gtag push

3. Undo Tag (Untag)

Deletes the latest post/* tag from both local and remote (if origin exists).

gtag untag

License

Copyright © 2025 Cha Haneum

This project is licensed under the MIT License.

About

Automate your Git tagging workflow.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project