Administrator@dear758 MINGW64 /e/java_project/study/01day
$ git config --global user.name "大白菜程序猿"
Administrator@dear758 MINGW64 /e/java_project/study/01day
$ git config --global user.email "填写你的git邮箱账号"
# 不懂加本人:qq3098414278
Administrator@dear758 MINGW64 /e/java_project/study/01day
$ git init
Initialized empty Git repository in E:/java_project/study/01day/.git/
Administrator@dear758 MINGW64 /e/java_project/study/01day (master)
$ git add .
warning: adding embedded git repository: back-dormitory-system
hint: You've added another git repository inside your current repository.
hint: Clones of the outer repository will not contain the contents of
hint: the embedded repository and will not know how to obtain it.
hint: If you meant to add a submodule, use:
hint:
hint: git submodule add <url> back-dormitory-system
hint:
hint: If you added this path by mistake, you can remove it from the
hint: index with:
hint:
hint: git rm --cached back-dormitory-system
hint:
hint: See "git help submodule"for more information.
warning: LF will be replaced by CRLF in front-dormitory-system/api/clear.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in front-dormitory-system/api/init.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in front-dormitory-system/api/menus.json.
The file will have its original line endings in your working directory
.......................................
Administrator@dear758 MINGW64 /e/java_project/study/01day (master)
$ git commit -m 'fristAdd'[master(root-commit)98ebf6b] fristAdd
266 files changed,64040insertions(+)
create mode 160000 back-dormitory-system
create mode 100644 dormitory.sql
create mode 100644 front-dormitory-system/.idea/.gitignore
create mode 100644 front-dormitory-system/.idea/front.iml
create mode 100644 front-dormitory-system/.idea/modules.xml
.......................................
Administrator@dear758 MINGW64 /e/java_project/study/01day (master)
$ git remote add origin https://gitee.com/wu_83/Dormitory-management-system.git
Administrator@dear758 MINGW64 /e/java_project/study/01day (master)
$ git pull origin master --allow-unrelated-histories
remote: Enumerating objects:3, done.
remote: Counting objects:100%(3/3), done.
remote: Compressing objects:100%(2/2), done.
remote: Total 3(delta 0), reused 0(delta 0), pack-reused 0
Unpacking objects:100%(3/3),1.09 KiB |5.00 KiB/s, done.
From https://gitee.com/wu_83/Dormitory-management-system* branch master -> FETCH_HEAD
*[new branch] master -> origin/master
Merge made by the 'recursive' strategy..gitignore |18++++++++++++++++++1 file changed,18insertions(+)
create mode 100644.gitignore
Administrator@dear758 MINGW64 /e/java_project/study/01day (master)
$ git push -u origin master
Enumerating objects:330, done.
Counting objects:100%(330/330), done.
Delta compression using up to 4 threads
Compressing objects:100%(314/314), done.
Writing objects:100%(329/329),12.99 MiB |938.00 KiB/s, done.
Total 329(delta 41), reused 0(delta 0), pack-reused 0
remote: Resolving deltas:100%(41/41), done.
remote: Powered by GITEE.COM [GNK-6.4]
To https://gitee.com/wu_83/Dormitory-management-system.git
e2054c3..036368c master -> master
Branch 'master' set up to track remote branch 'master' from 'origin'.
Administrator@dear758 MINGW64 /e/java_project/study/01day (master)
$ git checkout -b dev
Switched to a new branch 'dev'
Administrator@dear758 MINGW64 /e/java_project/study/01day (dev)
$ git branch
* dev
master
Administrator@dear758 MINGW64 /e/java_project/study/01day (dev)
$ git push origin dev
Total 0(delta 0), reused 0(delta 0), pack-reused 0
remote: Powered by GITEE.COM [GNK-6.4]
To https://gitee.com/wu_83/Dormitory-management-system.git
e2054c3..036368c dev -> dev
Administrator@dear758 MINGW64 /e/java_project/study/01day (dev)
$ git branch --set-upstream-to=origin/dev
Branch 'dev' set up to track remote branch 'dev' from 'origin'.
Administrator@dear758 MINGW64 /e/java_project/study/01day (dev)
$ git pull
Already up to date.