Skip to content

leitiannet/git-new

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

New git repository

$ git clone git@github.com:leitiannet/git-new.git
$ cd git-new
$ export PATH=$PATH:`pwd`
$ cd ..
$ git new -h
usage: git new [<options>] [<directory>]
   options:
        -m <msg> Use the given <msg> as the commit message
        -h       Show this help
$ git new -m "new example" example
Initialized empty Git repository in /home/example/.git/
[master (root-commit) b697dba] new example
 4 files changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 .gitattributes
 create mode 100644 .gitignore
 create mode 100644 LICENSE
 create mode 100644 README.md
Use 'git gi Go > .gitignore' to set gitignore file.
Use 'git ga go,vim > .gitattributes' to set gitattributes file.

Releases

No releases published

Packages

No packages published

Languages