利用git将本地项目直传码云或github
在此之前,你得电脑要有git环境,你要建立git仓库。
在指定项目所在文件夹下,右击调出git base here
青铜骑士@DESKTOP-BPQFERS MINGW64 /d/fz(这是我的项目所在得文件夹)
$ git init
Initialized empty Git repository in D:/fz/.git/
青铜骑士@DESKTOP-BPQFERS MINGW64 /d/fz (master)
$ git status
On branch master
No commits yet
Untracked files:
(use "git add <file>..." to include in what will be committed)
founder_procedure/
nothing added to commit but untracked files present (use "git add" to track)
青铜骑士@DESKTOP-BPQFERS MINGW64 /d/fz (master)
$ git add .
warning: LF will be replaced by CRLF in founder_procedure/README.en.md.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in founder_procedure/README.md.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in founder_procedure/app.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in founder_procedure/app.json.
The file will have its original li。。。。。。。。。。。。。。。
青铜骑士@DESKTOP-BPQFERS MINGW64 /d/fz (master)
$ git commit -m 'init'
[master (root-commit) 98592d6] init
153 files changed, 9818 insertions(+)
create mode 100644 founder_procedure/README.en.md
create mode 100644 founder_procedure/README.md
create mode 100644 founder_procedure/app.js
create mode 100644 founder_procedure/app.json
create mode 100644 founder_procedure/app.wxss
create mode 100644 founder_procedure/img/Chinese.png
create mode 100644 founder_procedure/img/English.png
create mode 100644 founde。。。。。。。。。。。。。。
青铜骑士@DESKTOP-BPQFERS MINGW64 /d/fz (master)
$ git remote add origin 仓库地址链接
青铜骑士@DESKTOP-BPQFERS MINGW64 /d/fz (master)
$ git pull --rebase origin master
warning: no common commits
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (4/4), done.
From https://gitee.com/happy_wholesalers/fzfront
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
First, rewinding head to replay your work on top of it...
Applying: init
青铜骑士@DESKTOP-BPQFERS MINGW64 /d/fz (master)
$ git push -u origin master
Enumerating objects: 166, done.
Counting objects: 100% (166/166), done.
Delta compression using up to 4 threads
Compressing objects: 100% (158/158), done.
Writing objects: 100% (165/165), 1.51 MiB | 1.03 MiB/s, done.
Total 165 (delta 44), reused 0 (delta 0)
remote: Resolving deltas: 100% (44/44), done.
remote: Powered By Gitee.com
To https://gitee.com/happy_wholesalers/fzfront.git
3bf88ea..06a1af7 master -> master
Branch 'master' set up to track remote branch 'master' from 'origin'.

浙公网安备 33010602011771号