Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 422 Bytes

index.md

File metadata and controls

26 lines (16 loc) · 422 Bytes

git unpublish

Unpublish the current branch

Git alias:

unpublish = !"git push origin :$(git current-branch)"

Unpublish the current branch by deleting the remote version of the current branch.

Example:

git unpublish

Compare: