热门

最新

红包

立Flag

投票

同城

我的

发布
wang2leee
BigDataMLApplication
4 年前
truewang2leee

【git】Your branch is ahead of 'origin/master

in this case I suppose master is your default(HEAD) branch. It will remove all commits which are not in this branch.

git reset --hard origin/master

https://hashnode.com/post/i-got-your-branch-is-ahead-of-originmaster-by-2-commits-how-can-i-delete-these-two-commits-cj03i91fe001lew539y484aq3

CSDN App 扫码分享
分享
评论
点赞
打赏
  • 复制链接
  • 举报
下一条:
有人说,能被人看懂的代码才是好代码。这句话我只同意一半,安卓/鸿蒙/MySQL/.NETCore/Golang...都是开源的,都看懂了么?所以另一半是:你水平不行。
立即登录