From 0f9967960205e55d4556f9ccc29b6ee450089f7e Mon Sep 17 00:00:00 2001 From: hnu202010040203 Date: Thu, 3 Jun 2021 11:24:58 +0800 Subject: [PATCH] Initial commit --- .gitignore | 17 +++++++++++++++++ LICENSE | 21 +++++++++++++++++++++ README.md | 19 +++++++++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE create mode 100644 README.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f4d432a --- /dev/null +++ b/.gitignore @@ -0,0 +1,17 @@ +# ---> Go +# Binaries for programs and plugins +*.exe +*.exe~ +*.dll +*.so +*.dylib + +# Test binary, built with `go test -c` +*.test + +# Output of the go coverage tool, specifically when used with LiteIDE +*.out + +# Dependency directories (remove the comment below to include it) +# vendor/ + diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..71ba626 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +Eiffel Forum License, version 2 + +1. Permission is hereby granted to use, copy, modify and/or distribute this +package, provided that: + + - copyright notices are retained unchanged, + +- any distribution of this package, whether modified or not, includes this +license text. + +2. Permission is hereby also granted to distribute binary programs which depend +on this package. If the binary program depends on a modified version of this +package, you are encouraged to publicly release the modified version of this +package. + +THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT WARRANTY. ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +AUTHORS BE LIABLE TO ANY PARTY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THIS +PACKAGE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..86d0df2 --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +#### 从命令行创建一个新的仓库 + +```bash +touch README.md +git init +git add README.md +git commit -m "first commit" +git remote add origin https://bdgit.educoder.net/hnu202010040203/sb.git +git push -u origin master + +``` + +#### 从命令行推送已经创建的仓库 + +```bash +git remote add origin https://bdgit.educoder.net/hnu202010040203/sb.git +git push -u origin master + +```