I just setup a project with vim and ctags. Do ctags belong in my version control?
Thanks.
No you shouldn't, (as jthill said) because that's a file you build/generate from source.
To add to jthill comment, you can find a complete configuration example in "Supercharge your VIM into IDE with CTags"
ctags generate tag (index file of all the classes)
ctags -R --languages=ruby --exclude=.git --exclude=log . $(bundle list --paths)
But the .gitignore would always ignore those resulting tags.
Since you don't want to commit those files into the GIT index, add them to .gitignore or I like to add them to my global ~/.gitignore.
$ cat <<EOT >> ~/.gitignore
tags
gems.tags
EOT
See github/gitignore/Global/Tags.gitignore.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With