Jump to: navigation, search

Scout/ Contribution/Scout Git Scripts

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