Git修订版表达(Git Revision Expression)

我正在尝试使用git,并且正在使用Git GUI。 我有我预先编写的代码,在它的目录中创建了一个repo,但由于没有分支,所以无法推送。 当我尝试制作一个时,它需要一个“修订表达式”。 我不知道那是什么。

I am trying to get started with git, and am using Git GUI. I have my pre-written code, created a repo in it's directory, but cannot push, as there are no branches. When I try to make one, it wants a "Revision Expression". I don't know what that is.

最满意答案

您推送到远程存储库。

你想要做的是git add和git commit 。

我建议,你自己通过git school学习基础知识。

You push to a remote repository.

What you want to do is git add and than git commit.

I suggest, you work yourself through the git school to learn the basics.

Git修订版表达(Git Revision Expression)

我正在尝试使用git,并且正在使用Git GUI。 我有我预先编写的代码,在它的目录中创建了一个repo,但由于没有分支,所以无法推送。 当我尝试制作一个时,它需要一个“修订表达式”。 我不知道那是什么。

I am trying to get started with git, and am using Git GUI. I have my pre-written code, created a repo in it's directory, but cannot push, as there are no branches. When I try to make one, it wants a "Revision Expression". I don't know what that is.

最满意答案

您推送到远程存储库。

你想要做的是git add和git commit 。

我建议,你自己通过git school学习基础知识。

You push to a remote repository.

What you want to do is git add and than git commit.

I suggest, you work yourself through the git school to learn the basics.