title: Commit after creating .gitignore
body: <p>If I commit all files and directories without.gitinogre file, and after that I create .gitignore file and add only it, files and directories that I added in my .gitignore file are added to git branch.</p>
  
  <p>So, how can I commit all files without files and directories that are defined in .gitignore?</p>