On Tue, Mar 05, 2019 at 08:35:39PM +0800, Qu Wenruo wrote: > > > On 2019/3/5 下午8:27, David Sterba wrote: > > On Thu, Feb 28, 2019 at 10:22:06AM +0800, Qu Wenruo wrote: > >> A lot of editor/IDE related config files are dotfiles, like .vimrc > >> or .clang_complete. > >> > >> Instead of adding gitignore entry for each editor/IDE, just ignore all > >> dotfiles. > > > > Fortunatelly it still works for tracked dotfiles like .travis.yml and > > .gitignore itself. > > Didn't notice .travis.yml, but indeed i should notice .gitignore. > > Any idea what's the correct way to handle them? > Just current .* or adding each possible dotfile?
I've left .* and tested that changes to .gitignore or .travis.yml are recognized (diff, commit).