On Sat, 18 Jun 2016 10:02:43 -0500
Bruno Wolff III <bruno(a)wolff.to> wrote:
I was looking for a way to make sure I only push tags back to
fedora-kickstarts from my clone the main fedora-kickstarts repo so
that I couldn't accidentally push a change if I get mixed up between
a fork and the main repo. I'm guessing there is a way to do this with
git hooks that I should be able to figure out eventually, but was
hoping someone might just know the answer. I'm asking here because
other people might be interested in doing something similar.
(Fortunately the commit was pretty safe and went to master and not
f24, but I really had intended it to go through a PR.)
I don't know of a way off hand, aside from lots of 'git status' and
making sure you are always operating on the fork.
kevin