git connection gitee notes

Referring first to #

https://blog.csdn.net/zhangyu4863/article/details/80427289

 

# Then need to pay attention, can not use the git remote add origin git in office @ gitee.com: gitee your username / warehouse name .git

Can refer to the following tutorial link is switched to the https protocol connection github

https://blog.csdn.net/s740556472/article/details/80318886

 

# Then experience problems locally and online repository can not be merged, as follows tutorial can be referred to the forced merger

https://www.centos.bz/2018/03/git-%E5%87%BA%E7%8E%B0-fatal-refusing-to-merge-unrelated-histories-%E9%94%99%E8%AF%AF/

 

# Finally, problems encountered git push is not being given, but no remote repository update problem, you can use the following command:

 Master git Checkout $   

 $ git Merge rowsizectrl (here into your branch name) 

 $ git Branch - d rowsizectrl ## current branch has been useless, remember to remove, if you do not have to use the delete 

 $ git the Push -u Origin master 

Reference links for https://blog.csdn.net/yban10032/article/details/81903675

 

Guess you like

Origin www.cnblogs.com/feng-hao/p/11389172.html