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
(New page: '''For SDK:''' *Allow non-FF on any branch: <pre>git --git-dir='/gitroot/scout/org.eclipse.scout.sdk.git' config --hooks.allownonffpush true</pre> *Allow any branch to be deleted: <pre>...) |
|||
Line 1: | Line 1: | ||
'''For SDK:''' | '''For SDK:''' | ||
− | *Allow non-FF on any branch: <pre>git --git-dir='/gitroot/scout/org.eclipse.scout.sdk.git' config --hooks.allownonffpush true</pre> | + | *Allow non-FF on any branch: <pre>git --git-dir='/gitroot/scout/org.eclipse.scout.sdk.git' config --add hooks.allownonffpush true</pre> |
− | *Allow any branch to be deleted: <pre>git --git-dir='/gitroot/scout/org.eclipse.scout.sdk.git' config --hooks.allowdeletebranch true</pre> | + | *Allow any branch to be deleted: <pre>git --git-dir='/gitroot/scout/org.eclipse.scout.sdk.git' config --add hooks.allowdeletebranch true</pre> |
− | *Allow any branch to be created: <pre>git --git-dir='/gitroot/scout/org.eclipse.scout.sdk.git' config --hooks.allowcreatenottopicbranch true</pre> | + | *Allow any branch to be created: <pre>git --git-dir='/gitroot/scout/org.eclipse.scout.sdk.git' config --add hooks.allowcreatenottopicbranch true</pre> |
− | *Allow any tag to be deleted: <pre>git --git-dir='/gitroot/scout/org.eclipse.scout.sdk.git' config --hooks.allowdeletetag true</pre> | + | *Allow any tag to be deleted: <pre>git --git-dir='/gitroot/scout/org.eclipse.scout.sdk.git' config --add hooks.allowdeletetag true</pre> |
*Remove all hook configs: <pre>git --git-dir='/gitroot/scout/org.eclipse.scout.sdk.git' config --remove-section hooks</pre> | *Remove all hook configs: <pre>git --git-dir='/gitroot/scout/org.eclipse.scout.sdk.git' config --remove-section hooks</pre> |
Revision as of 07:29, 22 February 2013
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