Well lets assume I have an account on GitHub called MyAccount(placeholder really, but hope it helps a bit), and I have a folder on my own desktop located at C:\Users\Username\Documents\GitHub\MyRepository. After I create this repository in Git GUI, what can I do to actually upload files within the MyRepository folder to GitHub? Is there no way to do this in IDEs like Netbeans? I am a bit lost when it comes down to command prompt though.
How to add folders to files to GitHub?
I presume one would use git, e.g.
https://help.github.com/articles/create-a-repo
Most IDEs (including Netbeans) support git either natively or with an extension. There are also GUI clients (Git's own site lists half a dozen for Windows, some of them including Explorer integration).
Yeah I suppose most IDEs do support GIT, I just havent been able to figure out how to use that feature. I did read the article you mentioned from Github, and it gets me more confused than before. sigh
Lord Yggdrasill wrote:After I create this repository in Git GUI, what can I do to actually upload files within the MyRepository folder to GitHub?
If you have already created the repository locally, you can still create the repository on Github. When you do that, Github will show you the URL to use to push to that repository on Github. What you can do is to set your local git repository to have that Github repository as the origin, e.g.,
git remote set-url origin https://github.com/MyAccount/myproject.git
then do a git push origin master. You may be able to use your GUI tool to do this, but I'm afraid that I don't know the details.
Lord Yggdrasill;11033605 wrote:Yeah I suppose most IDEs do support GIT, I just havent been able to figure out how to use that feature. I did read the article you mentioned from Github, and it gets me more confused than before. sigh
Actually, that github article is spot-on-easy. Just try it (you can always delete your repo and start over if you mess up). Just follow the instructions, one at a time. Doesn't even matter if you quite understand what going on right away. You'll get it. And the command line isn't as confusing as it seems.