This might be a basic github question, but I'm having trouble finding the right keywords to google because I don't know the terminology. Apologies and thanks in advance.
I've noticed with library dependencies in library.json, under "dependencies", there is often a github remote repo link with a version number after the #
For example
https://github.com/codewitch-honey-crisis/htcw_ili9341.git#1.0.0"
What is that exactly after the #? A branch? A release?
More importantly, how do I make my github repo expose these. Like, I want to make a 1.0.0 one now for htcw_ili9341.git but later I may want to make 1.0.1
Using the github website, and/or the command line, how do I go about this?
It would be really helpful if you explained as you went as well.
So you know where I'm coming from with this, I've been using github for awhile but only for the most basic things, and driving it all through VS Code for the most part, sometimes resorting to the web interface and only occasionally dropping to the command line, which I've done a handful of times to resolve merge conflicts. I'm not an expert, but not completely new to it either.
anything after # is never posted to the server. It's basically a comment in this specific instance.
The google dat.gui is a great little interface. http://workshop.chromeexperiments.com/examples/gui/#1--Basic-Usage
I really want to use this on a new project, but it doesn't work properly on touch screen devices.
However, since they migrated it from Github to code.google.com, things seems to have stalled and issues are going unfixed.
Being brutally honest, I think the project would have more community contribution if it were back on Github. Could I fork it and create my own version, called something like dat.gui MkII, and encourage people to contribute to my version on github? The problem however, is I don't want things to get diluted and create confusion. Would it be better just to completely rebrand it away from dat.gui, and say it was originally forked from there?
Apply a
Cost–benefit analysis
to forking the project.
Cost
forking could dilute the project and create confusion
Benefit
could renew interest in the project and result in more issues being fixed
In my opinion it is worth it, you could alleviate some confusion by having a detailed README on your homepage decribing the situation and/or linking here.
I'm programming something by myself. All I want to do is be able to simply roll back to previous versions in case I find problems. What's something quick and simple to setup that works in Eclipse?
Assuming you are talking about a version control repository, if you install the git tools on your machine you can have a local repository that allows you to rollback should it be necessary. Its not really any trouble to set it up.
git init
git add whatever.c
git commit -a -m "message"
If you're looking for something simpler than this, you won't be able to find any version control packages that work without a commit cycle. If you're looking to something that will just allow you to rollback to a set moment in time you may be better off looking for an automated backup solution every X minutes... but it won't work right in eclipse.
There is a way, one is to right click and select "restore from file history"
Or File Export project, and save it on your drive.
I would strongly recommend investing an hour in learning the basics of source control, either GIT or Mercurial. I resisted this for a long time, thinking that it is "just me" and I don't need all that complexity.
Turns out using either was pretty simple. The GitHub site provides an excellent introduction. MercurialEclipse is also fairly straightforward AFTER you put in some upfront time learning about it.
There is an excellent primer on DVCS in general, and Mercurial specifically by Joel Spolsky (Co-founder of Stack Overflow, by-the-by) HERE:
hgInit by Joel Spolsky
And GitHUb is an Awesome site as well,with an excellent introduction HERE:
GitHub
It took me a while to get it all straight (the basics) as I am completely self-taught. But I have never looked back.
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?
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 :)
You may use github's gist.
Although, the main point of using github is to share git repositories.
While GitHub has recently added limited support for editing files through the web interface, it's intended as hosting for software projects using the Git source control software. The most-used interface is the command-line git tool, though there are graphical interfaces such as TortoiseGit as well as Git components for many IDEs.
If all you're looking for is a place to put small code fragments for sending to others (like a pastebin), then you probably want Gists instead: http://gist.github.com/
Github is a code hosting site for Git.
The "command prompt thingy" is likely Git. If you don't use Git, it's unlikely you want Github either.
Luckily there are graphical Git front ends such as SmartGit.
There are many free online services which provides you with large spaces to store your personal materials, mails, etc. But is there any place that can let us host our code - which keeps the change history?
Google Code or SourceForge may not be a ideal place because it requires creating a project which is specific and useful to others, while what I want is a place to hold any kind of code which I think is useful but may not be for anybody else.
It's all about Github. 300 MB repository for free. Nice interface, easy to use. Plus we all know GIT > SVN :)
You can get free GIT and SVN hosting at unfuddle.com
BitBucket allow for public and private Mercurial repositories.
Github has Gists that might work for you. Also, Snipplr.
http://codeplex.com is where MS provides open source source control via Team Foundation Server.
projectlocker is also a good alternative for free Subversion, Git hosting..
You can also get free, private SVN hosting at http://beanstalkapp.com/. Their 100MB package is free.
Google Code link.
How about http://cvsdude.com/ which paid or http://xp-dev.com/ which is free.
come on guys don't you see that he is interest only in hosting online some fragments
of code like some functions etc not full projects and also not public but private.
Of course it is possible with each and every solution you all said in your posts
but it is not exactly what he was looking for .
You all replied like spammers and is that's funny
So why don't you just use http://gist.github.com/
as someone already mentioned
You can host private projects on DevjaVu is you want to use Subversion.
http://www.svnhostingcomparison.com/
CVSDude does free 2M subversion repository, you can also use CVS if you pay.
I've used http://planetsourcecode.com/ to store all sorts of bits of code. Users even upload entire applications.
There are even online code editors available (well, a kind of, that project is still in the development phase).
Linky: https://bespin.mozilla.com/
I've used CodeSpaces for over a year now and never had a problem. I'm a new user so I apparently can't post links...
There are plenty of answers already submitted which are suited to hosting full-fledged applications so I won't bother adding to the list but if you're looking at hosting smaller things (code snippets, simpler projects) with revision history you could consider using a wiki?
I know this was posted 4 years ago, but you could always just sign up on Pastebin and have private source code there.
Pastebin has been around since 2002 and is currently "the #1 paste tool". It supports a number of syntaxes (including C++, C, Ruby, and Java. Full list on site.)
Edit;
Their PRO plan is only $2.95 USD for one month or $1.99 USD/mo if you purchase for a full year. You can find out more on the limits of free vs Pro here.
Edit 2;
If nothing else, sign up for Dropbox, SkyDrive, or Mediafire and upload your files there.
Team Services has free, private, unlimited, Git repos for version control. You also get integrated bug and work item tracking, enterprise Agile tools for DevOps, like backlogs and Kanban boards, automated build, test, and release plus other team capabilities to build and ship apps.
You can connect with Xcode, Eclipse, IntelliJ, Android Studio, Visual Studio, or any dev tool you like.
Team Services is free for the first 5 users with Basic access, plus unlimited stakeholders working on the backlog, and Visual Studio subscribers. Here's how to get started with Team Services.