Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Scout/ Contribution/Scout Git Scripts"
< Scout
Line 1: | Line 1: | ||
+ | ''Unfortunately these scripts don't work anymore since we moved to Gerrit.'' | ||
+ | |||
'''For RT:''' | '''For RT:''' | ||
Revision as of 03:56, 15 May 2013
Unfortunately these scripts don't work anymore since we moved to Gerrit.
For RT:
- Allow non-FF on any branch:
git --git-dir='/gitroot/scout/org.eclipse.scout.rt.git' config --add hooks.allownonffpush true
- Allow any branch to be deleted:
git --git-dir='/gitroot/scout/org.eclipse.scout.rt.git' config --add hooks.allowdeletebranch true
- Allow any branch to be created:
git --git-dir='/gitroot/scout/org.eclipse.scout.rt.git' config --add hooks.allowcreatenottopicbranch true
- Allow any tag to be deleted:
git --git-dir='/gitroot/scout/org.eclipse.scout.rt.git' config --add hooks.allowdeletetag true
- Remove all hook configs:
git --git-dir='/gitroot/scout/org.eclipse.scout.rt.git' config --remove-section hooks
For SDK:
- Allow non-FF on any branch:
git --git-dir='/gitroot/scout/org.eclipse.scout.sdk.git' config --add hooks.allownonffpush true
- Allow any branch to be deleted:
git --git-dir='/gitroot/scout/org.eclipse.scout.sdk.git' config --add hooks.allowdeletebranch true
- Allow any branch to be created:
git --git-dir='/gitroot/scout/org.eclipse.scout.sdk.git' config --add hooks.allowcreatenottopicbranch true
- Allow any tag to be deleted:
git --git-dir='/gitroot/scout/org.eclipse.scout.sdk.git' config --add hooks.allowdeletetag true
- Remove all hook configs:
git --git-dir='/gitroot/scout/org.eclipse.scout.sdk.git' config --remove-section hooks