Go to file
forgetest5 e905c6d031 ADD file via upload 2021-07-30 11:27:12 +08:00
test1 07312 2021-07-30 09:59:22 +08:00
.gitignore Initial commit 2021-07-01 15:49:15 +08:00
2 - 副本 (9).txt ADD file via upload 2021-07-30 11:26:19 +08:00
2 - 副本 (12).txt ADD file via upload 2021-07-30 11:27:12 +08:00
LICENSE Initial commit 2021-07-01 15:49:15 +08:00
README.md Initial commit 2021-07-01 15:49:15 +08:00
sdfdsf.txt 07312 2021-07-30 10:35:43 +08:00

README.md

从命令行创建一个新的仓库

touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin http://testgitea2.trustie.net/og1/test.git
git push -u origin master

从命令行推送已经创建的仓库

git remote add origin http://testgitea2.trustie.net/og1/test.git
git push -u origin master