Skip to content

Change source code uploaded by GitHub #22712

Answered by tajmone
Xwilarg asked this question in New to GitHub
Discussion options

You must be logged in to vote
Xwilarg:

by default GitHub add the source code of the current master branch.

From GitHub Help » Managing releases in a repository:

you can see that you can choose other branches from the Target: dropdown.

Also, releases are associated to tags, which are not limited to a specific branch. When you create a tag (whether from GitHub’s WebUI or via Git on the command line) GitHub will create a release matching the commit referenced by that tag.

Xwilarg:

I would have like to know if I can change the commit targeted (or if there is just a way to not upload it)

You can always edit (or even delete) releases on your repository — although it’s preferable not to, unless strictly necessary, …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants