From http://www.darkcoding.net/software/cleaning-up-old-git-branches/
-
Switch to the main branch, usually 'develop':
git checkout develop
-
Get a list of fully merged branches:
param ( | |
[Parameter(Mandatory)][string] $GitHubToken, | |
[Parameter(Mandatory)][string] $GitHubOwner, | |
[Parameter(Mandatory)][string] $GitHubRepo, | |
[Parameter(Mandatory)][string] $SourceTrelloJsonFile, | |
[string[]] $TrelloLists, | |
[bool] $UpdateExistingIssuesByTitle = $true, | |
[bool] $AddNonExistingIssues = $true, | |
[bool] $Logging = $true | |
) |
SELECT | |
'ALTER TABLE ' + QUOTENAME(SCHEMA_NAME(schema_id)) + '.' + QUOTENAME(OBJECT_NAME(parent_object_id)) | |
+ ' DROP CONSTRAINT ' + QUOTENAME(name) | |
FROM sys.foreign_keys | |
WHERE schema_id IN ( SCHEMA_ID('jobs'), SCHEMA_ID('jobs_internal') ) | |
ORDER BY | |
CASE schema_id WHEN SCHEMA_ID('jobs') THEN 1 ELSE 2 END ASC | |
SELECT | |
'DROP VIEW ' + QUOTENAME(SCHEMA_NAME(schema_id)) + '.' + QUOTENAME(name) |
When Running a web app in Visual Studio errors in Could not find a part of the path '[path]\roslyn\csc.exe'. | |
Run this command in Package Manager Console: | |
Update-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform -r |
From http://www.darkcoding.net/software/cleaning-up-old-git-branches/
Switch to the main branch, usually 'develop':
git checkout develop
Get a list of fully merged branches:
sub, sup { | |
/* Specified in % so that the sup/sup is the | |
right size relative to the surrounding text */ | |
font-size: 75%; | |
/* Zero out the line-height so that it doesn't | |
interfere with the positioning that follows */ | |
line-height: 0; | |
/* Where the magic happens: makes all browsers position |