git fetch <remote> <remote_branch>:<local_branch>
git checkout <local_branch>
git branch -u <remote>/<remote_branch>
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docs: | |
https://git.wiki.kernel.org/index.php/Aliases#Getting_the_diff_of_a_branch_since_it_forked_from_another_branch.2C_or_since_the_last_merge | |
complex example: | |
https://medium.com/@vitalyb/creating-powerful-git-aliases-3dfc0efc9a31#.o07jp91ea | |
cleanall = "!git reset --hard;git clean -fd" | |
diffu = !current=$(git symbolic-ref --short HEAD) && git log --oneline $current...origin/$current; | |
dBranch = "!f() { \ | |
git log --oneline $1...origin/$1; \ |
In the .csproj file, replace:
<Import Project="..." />
by
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$baseFolder = (Get-Location).Path | |
$command = "git pull" | |
Get-ChildItem -dir | ForEach-Object { | |
Set-Location -Path $_.FullName | |
Write-Host (Get-Location).Path | |
Invoke-Expression -Command $command | |
Write-Host | |
} | |
Set-Location $baseFolder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$baseFolder = (Get-Location).Path | |
$statusCommand = "git status -s" | |
$branchCommand = "git branch" | |
Get-ChildItem -dir | ForEach-Object { | |
Set-Location -Path $_.FullName | |
Write-Host (Get-Location).Path | |
Invoke-Expression -command $branchCommand | |
Invoke-Expression -command $statusCommand | |
Write-Host | |
} |
Sections:
- Thoughts
- Gotchas
- CV
- Projects
- .Net Core
- Hello Languages
- Summing Matrices
- Web Boilerplate
- Xamarin.Forms.OAuth
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
; Open files | |
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code] | |
@="Edit with VS Code" | |
"Icon"="C:\\Program Files (x86)\\Microsoft VS Code\\Code.exe,0" | |
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code\command] | |
@="\"C:\\Program Files (x86)\\Microsoft VS Code\\Code.exe\" \"%1\"" | |
; This will make it appear when you right click ON a folder | |
; The "Icon" line can be removed if you don't want the icon to appear | |
[HKEY_CLASSES_ROOT\Directory\shell\vscode] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VS Code version of: | |
https://marketplace.visualstudio.com/items?itemName=MadsKristensen.Client-SideLibraryInstaller | |
https://marketplace.visualstudio.com/items?itemName=chrisdias.vscode-opennewinstance |
OlderNewer