adding global .gitignore file and update .hgignore as well