Skip to content

matteoghera/my-empty-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

my-empty-repo

In this repository, I write the command line instruction for create new Github repository.

HTTPS

HTTPS: https://github.com/matteoghera/my-empty-repo.git

…or create a new repository on the command line

echo "# my-empty-repo" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M master
git remote add origin https://github.com/matteoghera/my-empty-repo.git
# ---> git remote add origin https://[TOKEN]@github.com/matteoghera/my-empty-repo.git <--- new version!!!
git push -u origin master

…or push an existing repository from the command line

git remote add origin https://github.com/matteoghera/my-empty-repo.git
git branch -M master
git push -u origin master

…or import code from another repository

You can initialize this repository with code from a Subversion, Mercurial, or TFS project.

SSH

SSH: [email protected]:matteoghera/my-empty-repo.git

…or create a new repository on the command line

echo "# my-empty-repo" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M master
git remote add origin git@github.com:matteoghera/my-empty-repo.git
git push -u origin master

…or push an existing repository from the command line

git remote add origin git@github.com:matteoghera/my-empty-repo.git
git branch -M master
git push -u origin master

…or import code from another repository

You can initialize this repository with code from a Subversion, Mercurial, or TFS project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published