I was checking bespin documentation and I found this
https://wiki.mozilla.org/Labs/Bespin/DesignDocs/VCSIntegration
Here it says bespin can connect mercurial, svn and git. But I could not find those commands in bespin (I am using it from https://bespin.mozillalabs.com/). I am spesifically trying to find a way to connect bespin to github, so I can have free online code editing solution. Did anybody else tried that? or is it possible.
I found a bespin plugin
http://bespinplugins.mozillalabs.com/plugins/20
unfortunaltely it only fetches gists (gist.github.com) not whole git project.
I am just quoting from here.
Actually, Bespin already handles
that... "vcs getkey" will generate a
keypair for you and give you your
public key to install on
GitHub/bitbucket/wherever. It's mostly
a matter of being able to tell git
where to find the private key. hg
actually has a command line option
that lets you specify the ssh command
to run. I believe we'll need to set
environment variables with git and
svn.
Edit: Also, a plugin you may find handy.
Related
I am new to command line and have no idea how to use. I have Putty command line and would like to connect to my GitHub. Putty asks for a "Hostnamne/IP address". I do not know what to insert so it can work. Could anyone please help me?
PuTTY isn't something that you would use to connect directly to GitHub. It is an SSH client, but you need a Git client. Since GitHub doesn't provide interactive SSH, PuTTY won't be of much use.
I'm going to assume you're on Windows since that's where PuTTY is most often used. You can install the latest official release of Git for Windows, but it's probably worth installing one of the recent 2.x prereleases instead. These will be the official versions very shortly.
Once you have Git installed you should be able to run "Git Bash", which will drop you into a command line. At this point you can use git clone to clone an existing repository, git init to create a brand new one, or any number of other things. You'll probably want to find a tutorial or read a book before going much further.
If you'd prefer a graphical Git client there are many options.
I don't seem to be able to connect to a Github private repo with Eclipse.
I am able to connect to the repo through the command line on windows by using mysysgit with putty (Pageant), without the need to provide login/password. Is use this article and it works LINKE.
Eclipse does recognize my git repo, but when I right click and pull/push, nothing really happens: it's says it's pulling 0% in the eclipse status bar, but it doesn't change...
I have added the ssh private/pub key to the eclipse pref I followed the helpful links in this post, but not having a lot of luck.
When adding the github repo through the import and searching, I do get the error shown in the screenshot :
And when I add the private repo through the Eclipse import uri, I get also an error, see screenshot (using git protocol):
I also tried the https protocol, but then get the following error:
I tried many things as you can find these errors with Google, but didn't manage to solve it :(
I am using putty Pageant, and that works on the command line. But in the github help I read that github doesn't work with Putty, but in my case it does :(...
Any idea how to solve this?
EDITED:
I just noticed that a pull request does work, but it take like 10 min to end, while it costs 10s on the command line. Any idea?
Regarding ssh, you would need to configure Egit in order to show where your pubic/private keys are: Eclipse SSH Configuration
If you are using plink/pagent keys (instead of openssh ones), see "Using putty's pagent with egit in Eclipse".
Regarding https, many causes can prevent to access a remote repo: anti-virus, JVM, certificates issue, ...
I have made a project in Visual Studio that I would like to share with people on Github.
Searching Google and here, i can not seem to find a simple guide for how I get this project uploaded to to Github.
I have Git Extensions installed, i have some application from Github installed as well. I simply cant figure out what i need to do to share my project on Github. Any help appreciated.
Use this easy tool:
https://code.google.com/p/gitextensions/
No Cygwin needed
I've just found this Extension to VS15:
I have always found this guide
to be quite helpful.
I am using Cygwin with the Git package installed. Once that is done you need to
set up SSH keys.
This is essentially a key that is stored in a file on your computer. You enter
the same key into the "SSH Keys" page on GitHub, and as long as that file with
the key is found you can push and pull from GitHub.
I am using https://github.com/mattn/gist-vim and installing it as a submodule with vim pathogen in my bundle directory.
I have also set
git config --global github.user calvinchengx
git config --global github.token [mysecrettoken]
I am able to get commands such as Gist -l working fine, with this command retrieving a list of gists belong to me. I can also preview other coders' gists with Gist -l [thegithubusername] with no problems.
But I am unable to post a new gist to github. When attempting to post a new gist, I get the following error:
Posting it to gist...
Post failed:
Press ENTER or type command to continue
There isn't any useful error message shown. So I am not exactly what the problem is. Is there a way to find out what my error is (not familiar with debugging vim scripts)?
Appreciate any suggestions!
I tried setting up again after pulling the latest gist-vim but this is the error I get:-
It seems Github has deprecated the v2 of the API where gist creation was made by posting to gist.github.com, now in v3 it has to be done through api.github.com instead, probably some other differences to.
Api docs: http://developer.github.com/v3/#authentication
Similar issue: https://github.com/defunkt/gist/issues/79
Use new gist.vim. If you are using git command, pull master branch.
This include some changes breaking spec. new one don't use github_token. You'll need to setup for instruction to choose basic auth or oauth2. please read README or :help gist-vim.
I've got same error, install WebAPI.vim plugin solve problem
http://www.vim.org/scripts/script.php?script_id=4019
I have an online CVS repository that I need to check code into. However, the server is outside my control and is often down.
So, is there a way to set up some sort of local CVS server/proxy such that I can check my code into the local CVS server regularly and have the local CVS server batch commit the changes to the online CVS repo periodically?
The local repository could possibly run some other SCM system, if that was necessary to prevent conflict with CVS. Online commits could possibly be done manually, or via cron. I'm open to suggestions.
I guess that my main concern would be the problems faced in trying to set up some sort of repository 'hierarchy'.
PS: I'm running Linux all along the 'hierarchy'.
Edit: Found a similar item here.
Use git locally, and then git-cvsexportcommit would be my suggestion. There's a blog post that talks about this at http://issaris.blogspot.com/2005/11/cvs-to-git-and-back.html although I'll be the first to admit that the export process isn't as easy to use as perhaps it could be.
I'd recommend running git locally while continuing to use your CVS server when you have a connection to it. Here's a nicely-written article that explains how:
http://www.kernel.org/pub/software/scm/git/docs/v1.4.4.4/cvs-migration.html
You can use git as a "frontend" to CVS which will allow to you check-in your changes locally (offline) and then sync them up to the CVS server when your connection is available. There is a bit of a task to setup the environment, but once you get it going the workflow is pretty nice.
See How to export revision history from mercurial or git to cvs? for the setup & workflow.
This doesn't really answer the question, but it sounds like you need a distributed VCS system.
I think you should consider using a distributed source management system such as git or mercurial which support this kind of decentralized source control.
I have never used it, but CVSup may do what you need. As others have mentioned, though, a distributed VCS system like git or mercurial would probably be better.