From Fedora Project Wiki
(Created page with '== Description == Release Engineering is often asked by maintainers to remove branches in dist-git by maintainers. == Action == 1. Log into pkgs.fedoraproject.org <pre> ssh <fas...') |
Maxamillion (talk | contribs) No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{admon/important|This page is deprecated| All Fedora Release Engineering Documentation has moved [https://docs.pagure.org/releng/ here] with source hosted along side the code in the [https://pagure.io/releng releng pagure repository]}} | |||
== Description == | == Description == | ||
Release Engineering is often asked by maintainers to remove branches in dist-git by maintainers. | Release Engineering is often asked by maintainers to remove branches in dist-git by maintainers. | ||
Line 8: | Line 10: | ||
2. Change to the package's directory | 2. Change to the package's directory | ||
<pre>cd /srv/git/rpms/<package>.git/</pre> | <pre>cd /srv/git/rpms/<package>.git/</pre> | ||
3. Remove the branch | 3. Remove the branch | ||
<pre>git branch -D <branchname> </pre> | <pre>git branch -D <branchname> </pre> | ||
== Verification == | == Verification == | ||
To verify just list the branches. | |||
<pre>git branch</pre> | |||
== Consider Before Running == | == Consider Before Running == | ||
Make sure that the branch in question isn't one of our pre-created branches f??/master, olpc?/master, el?/master | |||
[[Category:Release Engineering SOPs]] | [[Category:Release Engineering SOPs]] |
Latest revision as of 17:56, 3 November 2015
Description
Release Engineering is often asked by maintainers to remove branches in dist-git by maintainers.
Action
1. Log into pkgs.fedoraproject.org
ssh <fas-username>@pkgs.fedoraproject.org
2. Change to the package's directory
cd /srv/git/rpms/<package>.git/
3. Remove the branch
git branch -D <branchname>
Verification
To verify just list the branches.
git branch
Consider Before Running
Make sure that the branch in question isn't one of our pre-created branches f??/master, olpc?/master, el?/master