https://makandracards.com/makandra/10173-git-how-to-rebase-your-feature-branch-from-one-branch-to-another
git checkout feature/mybranch
git rebase --onto new_target_branch current_parent_branch
git checkout feature/mybranch
git rebase --onto new_target_branch current_parent_branch
var investigated = ...; // assign your object here System.IO.File.WriteAllText( @"D:\test.json", Newtonsoft.Json.JsonConvert.SerializeObject( investigated, new Newtonsoft.Json.JsonSerializerSettings { Formatting = Newtonsoft.Json.Formatting.Indented, TypeNameHandling = Newtonsoft.Json.TypeNameHandling.Objects }));
ExceptionDispatchInfo.Capture(myException).Throw();
$env:PsModulePath += ";$PsScriptRoot/Modules" Import-Module SomeModule -ArgumentList "foo" -Verbose // no need to specify path to the module Get-OtherModuleThing // module will be loaded automatically
svn update if ($lastexitcode -ne 0) { throw $lastexitcode }
throw
in powershell rather than exit