1 changed files with 0 additions and 18 deletions
@ -1,18 +0,0 @@ |
|||||
@echo off |
|
||||
|
|
||||
REM Reset the last commit |
|
||||
git reset HEAD~1 |
|
||||
|
|
||||
REM Loop through all folders in the current directory |
|
||||
for /d %%F in (*) do ( |
|
||||
echo Processing folder: %%F |
|
||||
git add "%%F" |
|
||||
git commit -m "Partial commit for %%F" |
|
||||
) |
|
||||
|
|
||||
REM Handle root-level files |
|
||||
echo Adding root-level files |
|
||||
git add * |
|
||||
git commit -m "Partial commit for root-level files" |
|
||||
|
|
||||
echo Splitting commits by folders is complete. |
|
Loading…
Reference in new issue