查看: 50|回覆: 0

gitee更新代码库

[複製鏈接]

4

主題

0

回帖

0

積分

热心网友

金币
0
閲讀權限
220
精華
0
威望
0
贡献
0
在線時間
0 小時
註冊時間
2008-2-28
發表於 2022-8-15 10:56:00 | 顯示全部樓層 |閲讀模式

1、之前在gitee控制面板中直接更新了文件,导致了文件与本地的文件有区别

git pull

error: You have not concluded your merge (MERGE_HEAD exists).

hint: Please, commit your changes before merging.

fatal: Exiting because of unfinished merge.

2、到根目录中,执行

git add .

3、git commit 要跟上-a

git commit -a -m "测试" 

4、再次执行

git pull

hint: Pulling without specifying how to reconcile divergent branches is

hint: discouraged. You can squelch this message by running one of the following

hint: commands sometime before your next pull:

hint: 

hint:   git config pull.rebase false  # merge (the default strategy)

hint:   git config pull.rebase true   # rebase

hint:   git config pull.ff only       # fast-forward only

hint: 

hint: You can replace "git config" with "git config --global" to set a default

hint: preference for all repositories. You can also pass --rebase, --no-rebase,

hint: or --ff-only on the command line to override the configured default per

hint: invocation.

Already up to date.

 

5、git push origin master 提交到代码库中

git push origin master 

 

Enumerating objects: 86, done.

Counting objects: 100% (73/73), done.

Delta compression using up to 8 threads

Compressing objects: 100% (33/33), done.

Writing objects: 100% (46/46), 12.09 KiB | 2.01 MiB/s, done.

Total 46 (delta 8), reused 0 (delta 0), pack-reused 0

remote: Powered by GITEE.COM [GNK-6.4]

To https://gitee.com/taiji85/flowable1-ui.git

   569d51c..a8499e3  master -> master

回覆

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即注册

本版積分規則

相关侵权、举报、投诉及建议等,请发 E-mail:qiongdian@foxmail.com

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部