commit
33296a72ba
@ -0,0 +1,6 @@
|
|||||||
|
# ---> CraftCMS
|
||||||
|
# Craft 2 Storage (https://craftcms.com/support/craft-storage-gitignore)
|
||||||
|
# not necessary for Craft 3 (https://github.com/craftcms/craft/issues/26)
|
||||||
|
/craft/storage/*
|
||||||
|
!/craft/storage/rebrand
|
||||||
|
|
@ -0,0 +1,14 @@
|
|||||||
|
Copyright (c) 1986 by University of Toronto. Written by Henry Spencer. Not
|
||||||
|
derived from licensed software.
|
||||||
|
|
||||||
|
Permission is granted to anyone to use this software for any purpose on any
|
||||||
|
computer system, and to redistribute it freely, subject to the following restrictions:
|
||||||
|
|
||||||
|
1. The author is not responsible for the consequences of use of this software,
|
||||||
|
no matter how awful, even if they arise from defects in it.
|
||||||
|
|
||||||
|
2. The origin of this software must not be misrepresented, either by explicit
|
||||||
|
claim or by omission.
|
||||||
|
|
||||||
|
3. Altered versions must be plainly marked as such, and must not be misrepresented
|
||||||
|
as being the original software.
|
@ -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/mce9xgzsq/ceshi.git
|
||||||
|
git push -u origin master
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
#### 从命令行推送已经创建的仓库
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git remote add origin https://bdgit.educoder.net/mce9xgzsq/ceshi.git
|
||||||
|
git push -u origin master
|
||||||
|
|
||||||
|
```
|
Loading…
Reference in new issue