查看: 105|回复: 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:dzh188@hotmail.com

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

在本版发帖返回顶部