webstorm中使用git

webstorm中使用git将代码放入tfs两种方式:

  • 直接在tfs上建立仓库,复制仓库地址,然后在本地打开webstorm,然后git克隆这个仓库
  • 使用git命令将本地项目上传到tfs
  1. git remote add origin http://code.ncloud.hk:8080/tfs/DefaultCollection/Huawei/_git/Huawei.App.Mapbox
  2. git push -u origin --all
  3. 点击webstorm上传按钮
  4. 找到GIT,点击“push”,刷新tfs就可以看到上传到代码了
posted @ 2018-01-16 11:57  jun_zx  阅读(975)  评论(0编辑  收藏  举报