Index: /applications/editors/josm/plugins/github
===================================================================
--- /applications/editors/josm/plugins/github	(revision 36363)
+++ /applications/editors/josm/plugins/github	(revision 36364)
@@ -26,4 +26,17 @@
   }
 }
+elsif(($ARGV[0]||'') eq 'reset')
+{
+  my $dir = cwd();
+  for my $plugin (<$file>)
+  {
+    print($plugin);
+    chomp($plugin);
+    chdir($plugin);
+    system('git','reset','--hard','HEAD');
+    system('git','pull');
+    chdir($dir);
+  }
+}
 else
 {
