git branch -D @(git branch --format '%(refname:lstrip=2)' | where {$_ -ne 'master'} )
October 16, 2020
How to remove annoying items from windows explorer context menu
Menu items should be removed from registry.
Share with skype:
Remove HKEY_CLASSES_ROOT\*\shell\Share with skype
Remove HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PackagedCom\Package\Microsoft.SkypeApp(XXXXXXX and so on)\Class\{xxxxxx}
Create a new string key to forbid Skyep to create this menu again HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked\{776DBC8D-7347-478C-8D71-791E12EF49D8}
Move to OneDrive:
Create a new string key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked\{CB3D0F55-BC2C-4C1A-85ED-23ED75B5106B}
October 07, 2020
Deterministic builds for .NET in .csproj
There is a feature to produce equivalent byte output for the same code https://gist.github.com/aelij/b20271f4bd0ab1298e49068b388b54ae
To setup it in csproj file there should be next section:
<PropertyGroup>
<Deterministic>true</Deterministic>
<PathMap>$(MSBuildProjectDirectory)=C:\</PathMap>
</PropertyGroup>
August 21, 2020
tgit script to use TortoiseGit from command line
https://www.powershellgallery.com/packages/tgit
BTW: it is installed automatically with posh-git powershell module
April 06, 2017
April 05, 2017
March 13, 2017
How to base your branch on different branch
Nice article describing the process
https://makandracards.com/makandra/10173-git-how-to-rebase-your-feature-branch-from-one-branch-to-another
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
Subscribe to:
Posts (Atom)