gerrit上提示代码冲突的时候,我们首先会想到rebase下,不行的话就只能解决冲突了,最简单的做法是我的另一篇博客https://www.cnblogs.com/zndxall/p/9140813.html 中的方法,但是有的时候还是会出现问题,报错commit xxxx is a merge but no -m option was given,如下: 或者执行git cherry-pick 4e73b64a5fc251e6ff82aa1db4316bd4ecd389d5 是一样的效果.…
1.pull = fetch + merge In the simplest terms, git pull does a git fetch followed by a git merge. You can do a git fetch at any time to update your remote-tracking branches under refs/remotes/<remote>/. This operation never changes any of your own lo…
DataSet ds = new DataSet(); SqlConnection conn = new SqlConnection(ConnectionStr); SqlCommand cmd = new SqlCommand(); cmd.CommandTimeout = 180; SqlParameter[] parameters = new SqlParameter[]{ new SqlParameter("@st…