Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I post code to GitHub?

Tags:

github

I've looked everywhere but I can't find any way to post code to GitHub. I tried making a repository but then it tells me I have to download a command prompt thing?

Why can't I just post code directly to it? Is there any other way?

like image 404
David G Avatar asked Jul 28 '11 22:07

David G


2 Answers

If you are simply looking for a way to put some code online, then you can use another feature of that site calles "gists".

If you are on a mac, then there is another app you can use (made by the GitHub guys).

But the most relevant piece of software is what you refer to as " command prompt thing", which is a version control application with a relatively steep learning curve called GIT.

On a final note you might be misunderstanding what GitHub is useful for and might be better off looking at something a bit less complicated. If you are willing to explain exactly what you are looking for then i'm sure the StackOverflow community will be willing to help you :)

like image 186
Nippysaurus Avatar answered Oct 19 '22 13:10

Nippysaurus


You may use github's gist. Although, the main point of using github is to share git repositories.

like image 28
Stéphane Gimenez Avatar answered Oct 19 '22 13:10

Stéphane Gimenez