enable commit graph feature
git config core.commitGraph true
Now you have to recreate the graph file update commit-graph
git show-ref -s | git commit-graph write --stdin-commits
Get-EventLog -LogName System -Source Microsoft-Windows-Winlogon -After (Get-Date).AddDays(-7) | where {$_.InstanceId -eq 7001} |
<# | |
.SYNOPSIS | |
Update Software Version. | |
.DESCRIPTION | |
Finds SharedAssemblyInfo.cs in the solution and installer script in deployment directory. | |
Replaces code parts that define the software version in those files. | |
.EXAMPLE | |
"ChangeSoftwareVersion.ps1 -LocalPath . -Version 0.99.99" | |
.PARAMETER LocalPath | |
The path to the branch, with the installer script and SharedAssemblyInfo, which contain the software version. |
# Multistage build | |
FROM golang:alpine as build | |
## stage1: build app, make use of /go/src | |
RUN mkdir /go/src/app | |
WORKDIR /go/src/app | |
ADD ./src/main.go /go/src/app | |
RUN go build -o /bin/app |
<# | |
.SYNOPSIS | |
Finds all test .dlls and adds them to a code coverage run. | |
Generates a code coverage report. | |
.EXAMPLE | |
"ExecuteCodeCoverage.ps1 -testDllDir . -reportOutDir .\report -reportOutFormat html -testRunnerDir ." | |
All arguments are optional. Should work like magic. | |
#> | |
param ( |
enable commit graph feature
git config core.commitGraph true
Now you have to recreate the graph file update commit-graph
git show-ref -s | git commit-graph write --stdin-commits