Reputation: 41
I want just to upload code on Github so that it can be publically available in the form of URL. So can it be done without installing Git ? If it can be , can anybody please mention the steps. Thanks in advance.
Upvotes: 2
Views: 11940
Reputation: 4597
Major problem is that currently there is no web interface available to create master branch in newly created repo. Here is alternate option.
Upvotes: 0
Reputation: 1
You could use GitHub's Api. Assuming you have already a repo, you can make commits via HTTP POST requests. Take a look on this link: https://developer.github.com/v3/git/commits/#create-a-commit
You might need some additional steps, like authentication first, so I recommend to see the GitHub's API complete documentation here: https://developer.github.com/v3/
Upvotes: 0
Reputation: 506
GitHub added a feature that allows uploading files through the website.
Here's their blog post with the details
It involves going to your repository and clicking on the button 'upload files' near the clone button.
Upvotes: 8
Reputation: 187
use this URL according to your account (after login)
https://github.com/yourname/yourrepositoryname/upload/master
and then drag and drop your files
Upvotes: 4