toptal / gitignore.io

Create useful .gitignore files for your project
https://www.toptal.com/developers/gitignore
MIT License
8.27k stars 623 forks source link

CLI, cannot access .gitignore file because it is being used by another process. #628

Open MaharshiAJ opened 1 year ago

MaharshiAJ commented 1 year ago

When running gig python, macos (or anything else not specific to just these) >> .gitignore, an error is produced saying that the process cannot access the file because it is being used by another process.

Development Environment:

Expected Behavior:

Should create a new file .gitignore and add the necessary gitignores to the file.

Actual Behavior:

Creates a new .gitignore file however produces the error. The process cannot access the file 'C:\Users\Maharshi\Files\Programming.gitignore' because it is being used by another process.

Reproduction Steps:

  1. Open terminal.
  2. Write command gig python >> .gitignore