跳转到内容
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.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[问与答] 多个编程任务的代码管理

发表于

大家好,

虽然已经工作 6 年了,但是这个任务还是经常困扰我。 我司的工作比较多,每个程序员手头都是 3 到 4 个任务同步在处理。不可避免地,两个任务会修改同一个 cpp 文件。 但是我司的代码 review 要求,上传的代码只能有对应任务的代码,其余的修改必须删除掉。所以就经常出现,为了任务 A 的 review ,把任务 B 的代码删了。要做任务 B 的 review 时,又把删除的代码加回来这样尴尬的事情。

之前用 Perforce 的时候,shelve 功能可以解决一大部分的问题。但是现在切成 SVN 了,shelve 功能就不好使了。

所以想请问大家平日遇到此类问题,是如何管理自己的本地工程的。

谢谢。

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.