摘要:
Types Casting: Object Shapes: Typescript only cares about the shape of an object. Interfaces: only describe structure, no implementation don't compile 阅读全文
posted @ 2018-03-23 16:02
yangxu-pro
阅读(497)
评论(0)
推荐(0)
摘要:
Lightweight Tags. 如果想标注某个事件/里程碑, 就需要使用git tag tag名. 列出所有的tag: git tag --list. 可以在其它的git命令中使用tag名作为引用: git show myTag: 删除tag: git tag --delete myTag. l 阅读全文
posted @ 2018-03-23 10:41
yangxu-pro
阅读(537)
评论(0)
推荐(1)
摘要:
git stash(储藏) 准备好项目, 然后修改某个文件. 这时, 如果我不准备commit这个文件的话, 我需要立即修改改另外一个文件. 为了保存这第一个变化, 就可以使用git stash命令. “‘stash”“可以获取你工作目录的中间状态——也就是你修改过的被追踪的文件和暂存的变更——并将 阅读全文
posted @ 2018-03-23 09:28
yangxu-pro
阅读(528)
评论(0)
推荐(0)