github from a public repository using the command line and renaming file


Example

This example grabs the Node.gitignore file from GitHub's gitignore repository, downloads it to your current working directory and renames it to .gitignore - all very typical actions for someone starting a new node.js project.

$ curl http://github.com/github/gitignore/raw/master/Node.gitignore -o .gitignore