gpt4 book ai didi

Windows Github 基础知识和冲突处理(如 VSS)

转载 作者:可可西里 更新时间:2023-11-01 09:25:16 25 4
gpt4 key购买 nike

我是 Git/GitHub 的新手(过去使用过 VSS)。基于我的 SO Post我正在使用 Windows GitHub 与基于 Git bash 的命令提示符相比,它对用户更友好。特别是同步功能,无需担心 SSH 等......

我试图了解 VSS 方面的流程(至少基本的 checkin / checkout 和回滚)。我的理解-

  1. Initially, clone a remote repository locally (probably like checkout the whole proj in VSS but in Git its a separate clone copy)
  2. Later I just need to Pull (like get latest in VSS). Make changes, commit (all done on local cloned branch) - like staging checkins
  3. Finally, Push the commit(staged changes) on the remote repository (like final checkin as in VSS).

该工具能否检测/处理冲突?我找到了一个优秀的 SO Post 但需要确认。我相信我会在推送时收到冲突消息。然后我必须手动更改文件(合并更改),然后再次推送它(就像我们在 VSS 中合并一样)。我必须使用命令行还是可以从工具中使用?

我如何从 Git bash 或工具回滚到以前的版本


我还找到了一些 VS.Net 源代码控制 providers extensions 但有些让我回到了旧的 SSH 和其他复杂的东西。我想保持简单并使其最不复杂以鼓励我的团队.. 如果你明白我的意思。使用或学习 VSS 并不痛苦 :-)

引用

最佳答案

Can the tool detect / handle conflicts?

是的,但仍建议使用命令行:“On conflict, GitHub for Windows puts me in “rebasing” state, how to go from there?”中有更多详细信息

can I rollback to a prev version - from Git bash or tool?

Windows 版 GitHub 提供了不同的选项(回滚、还原、丢弃),您甚至可以 undo those operations now .

关于Windows Github 基础知识和冲突处理(如 VSS),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15705883/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com