使用Github Desktop将firebase函数放到Github上。

问题描述 投票:-1回答:1

通常我在上传项目到Github的时候都会为项目启用版本控制,但是我创建了一个firebase函数项目,在visual studio代码中好像没有办法启用版本控制,那么我怎么把这个项目上传到Github呢?

firebase google-cloud-functions github-for-windows
1个回答
0
投票

重新阅读你的标题后,我现在意识到,你想从github桌面做这个。这里有一个github的指南。使用GitHub桌面创建你的第一个仓库

我建议你这样做

当你从github.com创建一个github项目时,有一个选项可以创建一个没有readme的空仓库(这是默认的)。它将指导你如何从你的终端添加一个项目

echo "# test" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin [email protected]:wbedu/test.git
git push -u origin master

© www.soinside.com 2019 - 2024. All rights reserved.