简体   繁体   中英

Setting up GitHub Repo with Netbeans IDE

I would like to be able to setup my GitHub repo to integrate with my Netbeans project. I'm a super noob at versioning in general, so this may be a pretty easy question. Any help would be appreciated!

My question is : What do I insert as my Repository URL?

Here are the options I'm given when I try to push to remote:

Netbeans选项

首先,您需要在现有项目中初始化git存储库,然后可以使用ssh协议和git@github.com:Username / repositoryname.git进行推送,它应该询问您的私钥文件,请从用户文件夹中的.ssh中选择它。

The remote repository location refers to somewhere outside of the local repository that you would like to push to. This can be any of those protocols listed (ie, you can "push" to a local repository on the disk, or somewhere on the internet). A popular remote repository service for git is Github . Creating a Github account and using it as the remote allows you to push your changes to their server, and make use of their services associated with git.

Using a remote is not necessary, however. If you want to have your source code only on your local machine, then there is no need to add remotes. In that case, use the first radio option. You may need to initialize the git repository if you haven't yet. To do that, visit the directory of your project and run git init (assumes you have git installed).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM