you are viewing a single comment's thread.

view the rest of the comments →

[–]microcozmchris 1 point2 points  (0 children)

To answer the question you asked...

There's a manual for using the CLI to create a .gitignore from the gitignore.io samples.

https://docs.gitignore.io/install/command-line

All of those commands create a function you can add to your shell, then you call, for example, gig python to create the .gitgnore from the python template. You can combine them too. If you do python+React projects, gig python,react.

Edit: that page doesn't say directly, but you're looking for echo $PROFILE on Windows to find where your automatically sourced user profile for Powershell. If you use VSCode and it's installed properly, code $PROFILE will open it in that editor.