- Remove sub module section from the
.gitmodulesfile.
nano .gitmodules- Stage the change
git add .gitmodules| # Time range | |
| # Actual date | |
| $DateTarget = Get-Date | |
| # Custom date test (overrides actual date unless commenting out) | |
| #$DateTarget = Get-Date -Date "2021-09-12 13:14:15Z" | |
| $StartOfDay = $DateTarget | Date -Hour 0 -Minute 0 -Second 0 | |
| $StartOfWeek = $StartOfDay.AddDays(1-($StartOfDay).DayOfWeek.value__) |