Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/vb.net/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
从服务器使用Git推送到github_Git_Github - Fatal编程技术网

从服务器使用Git推送到github

从服务器使用Git推送到github,git,github,Git,Github,对于我正在从事的这个项目,我正在服务器上开发live(不是我的决定),如果可能的话,我想从服务器推送到GitHub,这可能吗?我似乎找不到任何资源,也许我只是找错了东西 如果不可能,有什么解决办法吗 提前感谢我认为您只需要将github存储库作为远程存储库添加到存储库中,然后推送到该远程存储库 您需要的所有命令都在这里:您是否在现有存储库中?

对于我正在从事的这个项目,我正在服务器上开发live(不是我的决定),如果可能的话,我想从服务器推送到GitHub,这可能吗?我似乎找不到任何资源,也许我只是找错了东西

如果不可能,有什么解决办法吗


提前感谢

我认为您只需要将github存储库作为远程存储库添加到存储库中,然后推送到该远程存储库


您需要的所有命令都在这里:

您是否在现有存储库中?