First link the projects
cd /home/you/projectA
git remote add projectB /home/you/projectB
git fetch projectBThen you can cherry-pick the commits:
| #!/bin/sh | |
| # | |
| # Git commit-msg hook. If your branch name is in the form "LMS-1234-postfix", or | |
| # "LMS-1234_postfix", it automatically adds the prefix "[LMS-1234]: " to commit | |
| # messages. | |
| # Example | |
| # ======= | |
| # |
The commands for check and set default shell for OpenSSH in Windows via PowerShell.
Sets the default shell to be powershell.exe
New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -PropertyType String -ForceSets the default shell to be wsl
New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\WINDOWS\System32\bash.exe" -PropertyType String -Force