failed in initialization .gitignore - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html) +--- Thread: failed in initialization .gitignore (/thread-16981.html) |
failed in initialization .gitignore - erfanakbari1 - Mar-23-2019 Hey guys ! It's been a while since I just started working on some projects in Django framework and after creating projects and activate virtual environment and runserver , I don't know how to add .gitignore files to my repository . But after creating .gitignore file in my root , I tried : git add . && git commit -m 'Initial commit'and I face this error warning: LF will be replaced by CRLF in .idea/workspace.xml. The file will have its original line endings in your working directory error: pathspec 'commit'' did not match any file(s) known to gitSo , I don't know actually what to do because my website projects and codes doesn't run . I'm really happy If you could help me fixing this issue . Thanks RE: failed in initialization .gitignore - Larz60+ - Mar-23-2019 try issuing commands on two lines like: git add . git commit -m 'Initial commit' RE: failed in initialization .gitignore - snippsat - Mar-23-2019 Try double quotes. git add . && git commit -m "Initial commit" |