Well for me, I use gitignore for files I don't want to commit. Then I run git add . git commit -am git push Use git status to see if build directory is included.
Elixir version and deploy files
I'm using version in elixir gulp tasks and Forge to deploy. Because version make always new files (and delete old) these files must be added on commit. Usually I commit from PhpStorm GUI, not from command line and usually I forget to manually add new build files to repository.
Is any solution to automate this? Maybe I do this wrong way? Eventually I can use command line, but GUI is quicker (one shortcut and I have window to write commit message and button Commit & Push).
You say you're using PhpStorm. If you create a new project and the project contains a git directory PhpStorm will ask you if any new created file needs to be added to tracking for git. You then get two options (Yes or No). There is also a checkbox that says, don't ask again.
If you just press yes and say don't ask again all files will be added automatically. Just remember to update your .gitignore file with the files you don't want :D
Please or to participate in this conversation.