Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 554 Bytes

File metadata and controls

25 lines (18 loc) · 554 Bytes

Git 的使用

Q1

Git 是一个广泛使用的版本管理工具,适合团队开发。
如果你用过 Git,那么请回忆一下,
我们在确认开发需求之后,从写代码到提交进团队的代码仓库。
这个过程中大概会用到哪几条命令?

请直接在这里作答。

答:

git add .

git commit -m""

git pull origin xx

git push origin master

Q2

你知道和用过哪些 Git 的方法论和技巧

答:从commit或者提交记录里获取历史唯一的key,以此为蓝本创建一个分支