Learn more about these different git repos.
Other Git URLs
Please make "fedpkg switch-branch" showing which branch I'm actually on like "git branch" is doing already. As alternative, please add "fedpkg branch".
$ fedpkg switch-branch
$ git branch
Could we talk to FESCo about allowing the fedora-packager RPM to alter /etc/bashrc to include the settings from https://fedoraproject.org/wiki/Git_Quickref#Display_current_branch_in_bash ?
This would make life a lot easier for developers.
This is not an option for me and this idea does not satisfy my request. I really dislike the idea of blowing up the standard bashrc like openSUSE does nowadays - which makes starting a new bash ugly slow, because all the stuff inside of the bashrc is getting read and executed etc.
If you really want such a bash prompt thing, put a /etc/profile.d/fedora-packager.sh into the fedora-packager script and do it maye there, but never for the default bashrc!
Just committed something that will make this happen. it's not my proudest code, but it works.
to comment on this ticket.