2

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 Options

2 Answers 2

3

You first need to initialize a git repository in your existing project then you can push using the ssh protocol and [email protected]:Username/repositoryname.git it should ask you for your private key file select it from .ssh in your user folder

Sign up to request clarification or add additional context in comments.

1 Comment

Went with command line instead. Thanks! (For those coming later, he helped me in chat: chat.stackoverflow.com/rooms/10185/…)
1

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 (i.e., 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).

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.