我们在SAP WebIDE里进行UI5应用开发时,当然也希望能将开发的代码纳入到github版本管理中去。
步骤其实非常简单。
右键点击WebIDE里UI5应用,git->Initialize Local Repository:
![](https://img.haomeiwen.com/i2085791/04b95977a92dcd4d.png)
输入github上的用户名和密码,稍后WebIDE会用这个credential与Github建立连接。
![](https://img.haomeiwen.com/i2085791/63262e79addecf38.png)
在Github上新建一个空的代码仓库:
![](https://img.haomeiwen.com/i2085791/299a968ca4e0f46f.png)
把生成的url复制下来,粘贴到SAP WebIDE的git repository配置对话框中:
![](https://img.haomeiwen.com/i2085791/68f43de498b8a25f.png)
然后再使用右键菜单创建一个远端branch,取名Master:
![](https://img.haomeiwen.com/i2085791/7deef45612685c25.png)
之后,利用右侧的git面板提供的各种命令,即可进行常规的commit,pull,push等操作。
![](https://img.haomeiwen.com/i2085791/223b8332f8dccf13.png)
在WebIDE里触发的Github操作成功施加到了Github的仓库里
![](https://img.haomeiwen.com/i2085791/c1e8bdf23880d2ed.png)
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
![](https://img.haomeiwen.com/i2085791/c4f58b9813a954cb.png)
网友评论