欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

gitlab分支合并沖突的處理過程

 更新時間:2024年01月29日 08:54:05   作者:magic_kid_2010  
這篇文章主要介紹了gitlab分支合并沖突的處理過程,具有很好的參考價值,希望對大家有所幫助,如有錯誤或未考慮完全的地方,望不吝賜教

1、使用 gitlab 創(chuàng)建合并請求

master 合并到 branch_test --> compare branches and continue --> submit merge request

提示:合并沖突。

2、使用 idea 打開項目

(1)執(zhí)行:git fetch origin

(2)切換到 master 分支,更新到最新版本。

(3)切換到 branch_test 分支,更新到最新版本。

(4)執(zhí)行:git merge --no-ff master

(5)打開沖突文件,解決沖突。

沖突提示:

<<<<<<< HEAD
=======
//    @Scheduled(cron = "0 */1 * * * ?")
>>>>>>> master
    @Scheduled(initialDelay = 10000, fixedRate = 70000)

處理沖突:

//    @Scheduled(cron = "0 */1 * * * ?")
    @Scheduled(initialDelay = 10000, fixedRate = 70000)

解決沖突:

鼠標右鍵 --> git --> resolve conflict

(6)提交合并

git commit -m "reslove conflict"

(7)推送到遠程分支

git push origin branch_test:branch_test

總結(jié)

以上為個人經(jīng)驗,希望能給大家一個參考,也希望大家多多支持腳本之家。

相關(guān)文章

最新評論