aboutsummaryrefslogtreecommitdiffstats
path: root/Go.gitignore
diff options
context:
space:
mode:
authorMax Schmitt <max.andreas.schmitt@googlemail.com>2018-01-01 20:57:36 +0100
committerGitHub <noreply@github.com>2018-01-01 20:57:36 +0100
commitb25db7156bc4a76f4380c72965bdf4178a2aa920 (patch)
tree5eab09007c93913789aa17781a8391a1abb3b610 /Go.gitignore
parentade08baee2cf60afd794432b3e779fe5844c545d (diff)
downloadgitignore-b25db7156bc4a76f4380c72965bdf4178a2aa920.tar.gz
gitignore-b25db7156bc4a76f4380c72965bdf4178a2aa920.zip
Go: Add '*.exe~' to .gitignore
When you build a Go executable, which does already exists and is in use on Windows (e.g. running) then the output binary name will be extended by a '~' prefix. https://github.com/golang/go/blob/558eeb2d850d064b0b02b65a7bf3af6c108c248d/src/cmd/go/internal/work/exec.go#L1165-L1170
Diffstat (limited to 'Go.gitignore')
-rw-r--r--Go.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/Go.gitignore b/Go.gitignore
index ea58090b..f1c181ec 100644
--- a/Go.gitignore
+++ b/Go.gitignore
@@ -1,5 +1,6 @@
# Binaries for programs and plugins
*.exe
+*.exe~
*.dll
*.so
*.dylib