prevent accidentally creating branches in dist-git

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've certainly made the mistake of accidentally creating branches
in dist-git and now being stuck with them because we can't delete
them. Now that src.fedoraproject.org (dist-git) is backed by a newer
version of pagure you can prevent creating new branches by `git push`.

For your project in the web UI:

- Go to the `Settings` menu
- Select `Hooks` from the left hand side
- Expand `Prevent creating new branches by git push`
- Click the checkbox
- Click `Update`

I personally think this should be the default for all projects but
I don't know if there is a way to easily make that happen when a project
gets created.

Hope this helps someone! 
Dusty 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux