如何从git上更新代码并启动

版权声明:技术交流群:758191639 https://blog.csdn.net/u014131617/article/details/85332884

1 从git上更新代码

打开终端命令行
输入 git pull命令后,代码就更新下来了

需要注意必须要进项目目录,比如你项目名称叫123,在你ls命令后,输出如果有123,那就需要cd进去,再输入git pull代码即可

2 启动项目

在上一步骤之后,输入npm run或者 npm run dev即可等待启动完成

其他问题:

1.从git上下载(克隆)项目
在安装好git的前提下使用代码 > git clone $网址$
网址为:(示例)https://github.com/1729051657/videoCode.git  通常都是.git结尾
完整示例命令: git clone https://github.com/1729051657/videoCode.git

猜你喜欢

转载自blog.csdn.net/u014131617/article/details/85332884