Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Interconversion of gitignore and hgignore?

I'm just starting to use hg-git to push some mercurial repositories to github, and I'm realizing that if people check them out using git, they'll need a .gitignore file in the repository. Is there any automated way to convert hgignore to gitignore or vice versa?

like image 403
Ryan C. Thompson Avatar asked Dec 03 '10 19:12

Ryan C. Thompson


1 Answers

If you're just using glob syntax in your hgignore, then all you'd need to do is rename it, and it should just work. If you're using regex syntax then it's going to be a different story...

like image 168
Skilldrick Avatar answered Oct 05 '22 05:10

Skilldrick