Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.
/ zsh-rc Public archive

ZSH plugin to easy manage RC branches

Notifications You must be signed in to change notification settings

jgogstad/zsh-rc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

zsh-rc

What

ZSH plugin for working with RC branches. Typically useful in the following workflow

  • Work is done on feature branches
  • A branch suffix of "-rc" signals to CI that it should produce an artifact for the branch
> git checkout -b feature/foo
Switched to a new branch 'feature/foo'

# Easily switch back and forth, RC branch will be created if it doesn't exists
> rc
Switched to a new branch 'feature/foo-rc'

> rc
Switched to branch 'feature/foo'

# RC branch will always be hard reset to non-rc branch
> git commit --allow-empty -m "Foo"
[feature/foo bf6d376] Foo

> rc
Switched to branch 'feature/foo-rc'
HEAD is now at bf6d376 Foo

Installation

Antibody

antibody bundle jgogstad/zsh-rc

Antigen

antigen bundle jgogstad/zsh-rc

Zplug

zplug "jgogstad/zsh-rc"

Plain zsh

Add to .zshrc

. /path/to/zsh-rc.plugin.zsh

About

ZSH plugin to easy manage RC branches

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages