patleeman / VSNotes

Simple VS Code extension for plain text note taking.
https://marketplace.visualstudio.com/items?itemName=patricklee.vsnotes
MIT License
174 stars 33 forks source link

Modify git command default statement for Windows #38

Closed nikukyugamer closed 5 years ago

nikukyugamer commented 5 years ago

Thank you for awesome extension.

Btw as you write in README.md, on Windows the Commit and Push function doesn't work correctly when a commit message contains space(s) as below.

> git commit -m 'Hello Hello'
error: pathspec 'Hello'' did not match any file(s) known to git

This is because the single quotation is used in default commit command, which is git commit -m '{msg}'. We must use the double quotation on the Windows command prompt. Please refer the attached image.

error_on_windows_02

I fixed this.