GitHub hosting project

Time:2020-12-2

1、 Use GitHub hosting to

Method 1

1. Creating repository on GitHub

GitHub hosting project

GitHub hosting project

2. Transfer remote warehouse clone to local: git clone https://github.com/tskybird/t…
GitHub hosting project

3. Set the files in the local project (except for. GIT and node_ Copy to the test directory
cd test
git add .
Git commit – M ‘initial project’ / / local submission
Git push / / push to remote warehouse

GitHub hosting project

GitHub hosting project

Method 2
Local git warehouse
git remote add origin https://github.com/tskybird/s…
git push -u origin master

Recommended Today

PHP 12th week function learning record

sha1() effect sha1()Function to evaluate the value of a stringSHA-1Hash. usage sha1(string,raw) case <?php $str = “Hello”; echo sha1($str); ?> result f7ff9e8b7bb2e09b70935a5d785e0cc5d9d0abf0 sha1_file() effect sha1_file()Function calculation fileSHA-1Hash. usage sha1_file(file,raw) case <?php $filename = “test.txt”; $sha1file = sha1_file($filename); echo $sha1file; ?> result aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d similar_text() effect similar_text()Function to calculate the similarity between two strings. usage similar_text(string1,string2,percent) case […]