Home » Uncategorized » github new repository

github new repository

select repositories

click “new” repository button

create Repository name and Description (optional)

git clone https://github.com/<user_account>/<repository_name\>

cd <repository_name>

cp -Ra ../exist_source/* .

git add *

git commit -m “Adding files”

git push https://github.com/<user_account>/<repository_name\>

> enter github user account

> enter github user password

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s