git 个人文件夹建立以及常见报错问题 ,还有个人根目录下版本更新操作


CS@DESKTOP-B2A745J MINGW64 /f/lam/law_page (youyouxiong)
$ git init
Reinitialized existing Git repository in F:/lam/law_page/.git/

CS@DESKTOP-B2A745J MINGW64 /f/lam/law_page (youyouxiong)
$ git add .

CS@DESKTOP-B2A745J MINGW64 /f/lam/law_page (youyouxiong)
$ git commit -m "first commit"
[youyouxiong 1356cc2] first commit
 10 files changed, 1 insertion(+), 1284 deletions(-)
 delete mode 100644 edit.html
 delete mode 100644 follow.html
 delete mode 100644 home.html
 delete mode 100644 index.html
 delete mode 100644 login.html
 delete mode 100644 login_success.html
 delete mode 100644 register.html
 delete mode 100644 register_success.html
 rename comment.html => user/comment.html (100%)

CS@DESKTOP-B2A745J MINGW64 /f/lam/law_page (youyouxiong)
$ git checkout  -b youyouxiong
fatal: A branch named 'youyouxiong' already exists.

CS@DESKTOP-B2A745J MINGW64 /f/lam/law_page (youyouxiong)
$ git push --set-upstream origin youyouxiong
Enumerating objects: 15, done.
Counting objects: 100% (15/15), done.
Delta compression using up to 6 threads
Compressing objects: 100% (9/9), done.
Writing objects: 100% (12/12), 5.06 KiB | 5.06 MiB/s, done.
Total 12 (delta 7), reused 6 (delta 3)
To https://e.coding.net/gundam/law_page.git
 * [new branch]      youyouxiong -> youyouxiong
Branch 'youyouxiong' set up to track remote branch 'youyouxiong' from 'origin'.

CS@DESKTOP-B2A745J MINGW64 /f/lam/law_page (youyouxiong)
$ git init
Reinitialized existing Git repository in F:/lam/law_page/.git/

CS@DESKTOP-B2A745J MINGW64 /f/lam/law_page (youyouxiong)
$ git add .
warning: LF will be replaced by CRLF in static/css/layouts.css.
The file will have its original line endings in your working directory

CS@DESKTOP-B2A745J MINGW64 /f/lam/law_page (youyouxiong)
$ git commit -m "first commit"
[youyouxiong 6998461] first commit
 1 file changed, 147 insertions(+), 5 deletions(-)

CS@DESKTOP-B2A745J MINGW64 /f/lam/law_page (youyouxiong)
$ git commit -m "增加CSS样式"
On branch youyouxiong
Your branch is ahead of 'origin/youyouxiong' by 1 commit.
  (use "git push" to publish your local commits)

nothing to commit, working tree clean

CS@DESKTOP-B2A745J MINGW64 /f/lam/law_page (youyouxiong)
$ git push --set-upstream origin youyouxiong
Enumerating objects: 9, done.
Counting objects: 100% (9/9), done.
Delta compression using up to 6 threads
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 1.42 KiB | 1.42 MiB/s, done.
Total 5 (delta 2), reused 0 (delta 0)
To https://e.coding.net/gundam/law_page.git
   1356cc2..6998461  youyouxiong -> youyouxiong
Branch 'youyouxiong' set up to track remote branch 'youyouxiong' from 'origin'.

CS@DESKTOP-B2A745J MINGW64 /f/lam/law_page (youyouxiong)
$
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

youyouxiong

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值