git personal folder creation and common error reporting issues, as well as version update operations in the personal root directory


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

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

CS@DESKTOP-B2A745J MINGW64 /f/lam/law_page (xxxx 个人账户)
$ git commit -m "first commit"
[xxxx 个人账户 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 (xxxx personal account)
$ git checkout -b xxxx personal account
fatal: A branch named'xxxx personal account' already exists.

CS@DESKTOP-B2A745J MINGW64 /f/lam/law_page (xxxx personal account)
$ git push --set-upstream origin xxxx personal account
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] xxxx personal account-> xxxx personal account
Branch'xxxx personal account' set up to track remote branch'xxxx personal account' from 'origin'.

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

CS@DESKTOP-B2A745J MINGW64 /f/lam/law_page (xxxx 个人账户)
$ 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 (xxxx personal account)
$ git commit -m "first commit"
[xxxx personal account 6998461] first commit
 1 file changed, 147 insertions(+), 5 deletions(-)

CS@DESKTOP-B2A745J MINGW64 /f/lam/law_page (xxxx personal account)
$ git commit -m "Add CSS style"
On branch xxxx personal account
Your branch is ahead of'origin/xxxx personal account' 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 (xxxx personal account)
$ git push --set-upstream origin xxxx personal account
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 xxxx personal account -> xxxx personal account Branch'xxxx
personal account' set up to track remote branch'xxxx personal account' from ' origin'.

CS@DESKTOP-B2A745J MINGW64 /f/lam/law_page (xxxx personal account)
$
 

Guess you like

Origin blog.csdn.net/youyouxiong/article/details/103155440