跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[git] git 合并文件的冲突理解

发表于

请教一下 git 冲突的原理

我的操作

  1. github 上建了一个分支

  2. 在修改好文件后,当前目录 init 了一个仓库

  3. gitub push 之后,报出存在冲突,提示要远程的分支已经有文件( readme

  4. 做了很多尝试,包括合并了冲突到 git pull 至 update branch 无果 最后 git push -f


同事说标准化操作必须是,要本地建文件或者空文件先 clone 或者 pull

这是 git 固定的工作流,还是说是有 SHA-1 的对应关系在里面。总感觉光这点跟 SVN 的差别不大

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.