Skip to content

Instantly share code, notes, and snippets.

@Elrashid
Last active July 5, 2019 18:17
Show Gist options
  • Select an option

  • Save Elrashid/ce59f52d5552f453e4249d26e67a48c0 to your computer and use it in GitHub Desktop.

Select an option

Save Elrashid/ce59f52d5552f453e4249d26e67a48c0 to your computer and use it in GitHub Desktop.
Github gitignore with
*.swp
*.*~
project.lock.json
.DS_Store
*.pyc
nupkg/
# Visual Studio Code
.vscode
# Rider
.idea
# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
build/
bld/
[Bb]in/
[Oo]bj/
[Oo]ut/
msbuild.log
msbuild.err
msbuild.wrn
# Visual Studio 2015
.vs/
# elrashid dotnet core mvc and api app deploy to ubuntu script
0_deploy_scripts/script.0.env.setup.secret.bat

Github gitignore with script.0.env.setup.secret.bat gitignore

based on curl https://raw.githubusercontent.com/dotnet/core/master/.gitignore > .gitignore

Step 01

We will download and run the script

On the CMD Window write

set scriptUrl="https://gist.githubusercontent.com/Elrashid/ce59f52d5552f453e4249d26e67a48c0/raw/.gitignore"

PowerShell -Command "(new-object System.Net.WebClient).DownloadFile('%scriptUrl%','.gitignore')"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment