Ver Fonte

Update rexm.c

Ray há 2 semanas atrás
pai
commit
f9e6c85cce
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      tools/rexm/rexm.c

+ 3 - 0
tools/rexm/rexm.c

@@ -690,6 +690,9 @@ int main(int argc, char *argv[])
             if (result != 0) LOG("WARNING: Error committing changes\n");
             //result = system("git push"); // Push to the remote (origin, current branch)
             //if (result != 0) LOG("WARNING: Error pushing changes\n");
+            ChangeDirectory("C:/GitHub/raylib.com");
+            result = system(TextFormat("git commit -am \"REXM: RENAME: example: `%s` --> `%s`\"", exName, exRename)); // Commit changes (only tracked files)
+            if (result != 0) LOG("WARNING: Error committing changes\n");
 
         } break;
         case OP_REMOVE:     // Remove