Notice: This Wiki is now read only and edits are no longer 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: | ||
+ | '''For RT:''' | ||
+ | |||
+ | *Allow non-FF on any branch: <pre>git --git-dir='/gitroot/scout/org.eclipse.scout.rt.git' config --add hooks.allownonffpush true</pre> | ||
+ | *Allow any branch to be deleted: <pre>git --git-dir='/gitroot/scout/org.eclipse.scout.rt.git' config --add hooks.allowdeletebranch true</pre> | ||
+ | *Allow any branch to be created: <pre>git --git-dir='/gitroot/scout/org.eclipse.scout.rt.git' config --add hooks.allowcreatenottopicbranch true</pre> | ||
+ | *Allow any tag to be deleted: <pre>git --git-dir='/gitroot/scout/org.eclipse.scout.rt.git' config --add hooks.allowdeletetag true</pre> | ||
+ | *Remove all hook configs: <pre>git --git-dir='/gitroot/scout/org.eclipse.scout.rt.git' config --remove-section hooks</pre> | ||
+ | |||
'''For SDK:''' | '''For SDK:''' | ||
Revision as of 05:16, 28 February 2013
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