Git Product home page Git Product logo

gitinit's Introduction

gitinit

Build Status

Initiates an empty git repository with a .gitignore file for the provided language.

Installation

$ [sudo] pip install gitinit

# Or if you want the development version
$ [sudo] pip install -e [email protected]:iambibhas/gitinit.git

Usage

# if you already have it installed, upgrade
$ sudo pip install --upgrade gitinit

# initiates with a generic .gitignore file  
$ gitinit

# initiates a Haskell .gitignore file  
$ gitinit -l haskell

# See a list of languages supported
$ gitinit -L

Help

$ gitinit -h

Here is the full list of supported languages.

gitinit's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gitinit's Issues

No such file or directory: ‘README.md’

This happens with python 2.7.3 on linux 3.2.0:

$ sudo pip install gitinit
Downloading/unpacking gitinit
  Running setup.py egg_info for package gitinit
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "/tmp/pip-build/gitinit/setup.py", line 19, in <module>
        long_description=read('README.md'),
      File "/tmp/pip-build/gitinit/setup.py", line 6, in read
        return open(os.path.join(os.path.dirname(__file__), fname)).read()
    IOError: [Errno 2] No such file or directory: '/tmp/pip-build/gitinit/README.md'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 16, in <module>

  File "/tmp/pip-build/gitinit/setup.py", line 19, in <module>

    long_description=read('README.md'),

  File "/tmp/pip-build/gitinit/setup.py", line 6, in read

    return open(os.path.join(os.path.dirname(__file__), fname)).read()

IOError: [Errno 2] No such file or directory: '/tmp/pip-build/gitinit/README.md'

----------------------------------------
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build/gitinit

Enhancement request: list of languages

It would be pretty useful if gitinit had a “-L, --list” switch that listed all recognized languages. Of course I program in a limited set of languages and I will soon know which of those gitinit recognizes. For a new gitinit user, however, a list switch would be helpful.

Cheers (and thanks for a useful program).

publish latest version 1.0.8 on PyPi

PyPi has 1.0.7 & with Py3, It is throwing error

Traceback (most recent call last):
  File "/home/k3/.virtualenvs/py3/bin/gitinit", line 9, in <module>
    load_entry_point('gitinit==1.0.7', 'console_scripts', 'gitinit')()
  File "/home/k3/.virtualenvs/py3/lib/python3.4/site-packages/pkg_resources.py", line 356, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/home/k3/.virtualenvs/py3/lib/python3.4/site-packages/pkg_resources.py", line 2431, in load_entry_point
    return ep.load()
  File "/home/k3/.virtualenvs/py3/lib/python3.4/site-packages/pkg_resources.py", line 2147, in load
    ['__name__'])
  File "/home/k3/.virtualenvs/py3/lib/python3.4/site-packages/gitinit/gitinit.py", line 45
    print 'Creating .gitignore ...'
                                  ^
SyntaxError: invalid syntax

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.