Created
March 18, 2021 15:52
-
-
Save joshbooker/b34b172fcbb0995336b69a3424b39ab1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd %1 | |
git init | |
echo "README" > README.md | |
(echo /bin && echo /obj && echo *.log && echo *.dacpac && echo *.bacpac && echo !/refs/*.dacpac) > .gitignore | |
git add . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "Git Init Project Directory", | |
"type": "shell", | |
"command": "gitinit.cmd ${input:pickTestDemo}", // your command here | |
"args": [ | |
"${input:pickTestDemo}" // wait for the input by "id" below | |
], | |
"problemMatcher": [] | |
} | |
], | |
"inputs": [ | |
{ | |
"id": "pickTestDemo", | |
"type": "command", | |
"command": "folder-operations.getFoldersInWorkspace" // returns a QuickPick element | |
}, | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment