创建一个新的GitHub存储库 [英] Create a new GitHub repository

查看:45
本文介绍了创建一个新的GitHub存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在查看链接引用为第一步.

I'm looking at this link, which referencing this link as the first step.

我的问题是:我可以从终端(命令提示符)执行第一步吗?

My question would be: can I do the first step from the Terminal (command prompt)?

谢谢.

推荐答案

您可以使用 git init :

You can create an (empty) project using git init:

mureinuj@computer ~/src/git $ git init myproject
Initialized empty Git repository in /home/mureinik/src/git/myproject/.git/

从那里开始,只是将(现有的)项目推送到GitHub,如您提供的链接所述.

From there on, it's just pushing the (now existing) project into GitHub, as described by the link you provided.

这篇关于创建一个新的GitHub存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆