NAME

App::gh::Command::Import - create and import a repository, or add a remote for an existing one.

OPTIONS

--name, -n
        repository name.

--description, -d
        description.

--homepage
        homepage URL.

--private
        to be a private repository.

--remote, -r
        new remote name.

USAGE

$ cd Foo
$ git init
# changes
$ git add .
$ git commit -a -m "First commit"
$ gh import    # import to github

Github Import steps

mkdir Test
cd Test
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin git@github.com:c9s/Test.git
git push origin master

Existing Git Repo?

cd existing_git_repo
git remote add origin git@github.com:c9s/Test.git
git push origin master