2014年12月16日星期二

.gitignore.oi


So the reason I bring this up is that recently as we're developing our Get24 pygame, random .pyc files are been generated when we execute the game. I believe it is some kind of windows cache files that generates whenever the main .py file gets executed. This is really annoying because we will then keep uploading these .pyc files to our github when we commit.

.gitignore.io is a web application that creates a .gitignore file so you can use it on a github repository. The .gitignore file will contain the kind of language and file format that you want the github to ignore when you're doing a push. The .pyc files in this way will not gets puloaded to the repository which therefore makes the repo cleaner. You may use the web app for basicall any type of language and file format.

The appliation also supports a command line version. To run gitignore.io from your command line you need an active internet connection an environment function. You need to add a function to your environment that lets you access the gitignore.io API.

This application is opensourced on Github and has a copyright license. For a more completed explination and tutorial, click me.

没有评论:

发表评论