Git submits local branch to remote branch

remote branch already has a branch develop,local branch has a branch XX, how to push XX code to develop

Git
Mar.10,2021

< del > git push-u origin XX:develop < / del >
git push-u origin XX:develop
but first you need to make sure that you can push successfully without conflict, that is, the local branch XX is developed on the basis of develop's submission record

if you create a new local branch, you can do this:
git checkout-b XX origin/develop


git checkout xx (switching to local branch xx, should be your development branch)
git stash (cache)
git checkout develop
git pull (pull the latest code from develop)
git stash pop (integrates the code modified by the xx branch into develop)
git push develop (so that the code closes)
if there is a conflict, resolve it yourself

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e46b3d-44be4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e46b3d-44be4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?