Skip to content

Instantly share code, notes, and snippets.

@fonsp
Created January 13, 2021 23:37
Show Gist options
  • Save fonsp/6676f64b81ba10b756c1219c09e8a68b to your computer and use it in GitHub Desktop.
Save fonsp/6676f64b81ba10b756c1219c09e8a68b to your computer and use it in GitHub Desktop.

img

Fons van der Plas:pluto:Today at 11:27 PM

We made some big changes on Pluto#master that are not ready to be released yet, but we would like to release a patch update with a small change relative to our latest release. Is this possible?

10 replies


img

Mosè Giordano1 hour ago

like do it in a branch?

img

Fons van der Plas:pluto:1 hour ago

yeah i guess my question is: can I release from a branch? am i allowed to delete that branch later?

img

Mosè Giordano1 hour ago

  1. yes, no problem releasing from a branch
  2. you are allowed as long as you're happy to make a version to disappear, which sounds like a very bad idea

img

Chris de Graaf1 hour ago

Deleting the branch after the release doesn't make the code inaccessible AFAIK

img

Mosè Giordano1 hour ago

in the sense that GitHub keeps everything forever under the hood?

img

Chris de Graaf1 hour ago

A Git tag will definitely preserve it

:point_up:1

img

Mosè Giordano1 hour ago

but anyway, I wouldn't encourage testing GitHub persistence and avoid doing something bad

img

Fons van der Plas:pluto:1 hour ago

Great, I will keep it then, thank you!

img

Valentin Churavy:juliaspinner:1 hour ago

Yeah you should create a corresponding tag

img

Valentin Churavy:juliaspinner:1 hour ago

The branch doesn't matter after that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment