Skip to content

Instantly share code, notes, and snippets.

@chrish619
chrish619 / WindowsTerminal_settings.json
Last active March 7, 2022 10:59
Windows Terminal, with Command Prompt + Powershell + Powershell Core (plain, and with VS2019, VS2022 extensions), git bash, and Azure Cloud Shell
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions": [
{
"command": {
"action": "copy",
"singleLine": false
},
"keys": "ctrl+c"
},
@chrish619
chrish619 / post-checkout
Created June 20, 2019 11:08
[GIT Hook] Remove 'project.assets.json' from folder structure when switching branches
#! /bin/bash
# The intention behind this post-checkout hook, is to 'reset' the project state
# when switching branches in .Net Core projects / solutions
#
# Why?: A repository can be in a multiple states of migration - this resolves
# switching between branches, where some of those branches/projects are in a
# .Net.Sdk style, and others are yet to be migrated
RESET='\033[0m'