84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
目前公司发布的流程是拿到最新更新的代码, 然后通过sftp传到生产上, 之前用svn, 可以通过图形界面直接把对应的多个版本提交的文件更新下来, 但是到了git就不知道如何操作了,
请问是否有类似的方法解决, 谢谢
先去看一下简单的git操作,推荐http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/
http://git.oschina.net/progit/
git whatchanged --since "2 weeks ago"
if you only want to move a set of commits from another branch to your current branch, refer to git cherry-pick
git cherry-pick
你拿到的是最新的代码。然后使用git log --stat --since "2 months ago"查看commitid(版本号),然后git reset --hard commitid 代码就会回到commitid这个版本了,但是最好还是新拉一个分之出来做这个操作
先去看一下简单的git操作,推荐http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/
http://git.oschina.net/progit/
if you only want to move a set of commits from another branch to your current branch, refer to
git cherry-pick
你拿到的是最新的代码。然后使用git log --stat --since "2 months ago"查看commitid(版本号),然后git reset --hard commitid 代码就会回到commitid这个版本了,但是最好还是新拉一个分之出来做这个操作