git-clone

Cloning git repository Failure

戏子无情 提交于 2019-12-04 06:46:37
When i try to clone following from repository: git clone git://gitorious.org/qt/qt5.git qt5 i'm getting this error: fatal: Unable to look up gitorious.org (port 9418) (This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. ) What's the problem? another thing that my network use proxy and i have already set it: git config --global http.proxy http://192.168.0.7:8080 VonC Try first with an https address, rather than the git one (which needs a special port) https://git.gitorious.org/qt/qt5.git The

git svn clone is skipping revisions

守給你的承諾、 提交于 2019-12-04 05:53:24
问题 I am converting our svn repository to git. However, when I run "git svn clone" on our current svn repo, many revisions are getting skipped. For example, svn revision 2 is skipped, but when I run "svn log -r 2" in our svn repo, there is an entry for it. It's worth noting that when I just run "svn log" in our svn repo, revision 2 is not listed. It's only shown when referenced directly. I'm assuming svn history was sort of deleted, but not really, at one point in the past. How can I do the git

git fetch origin doesn't fetch all branches

淺唱寂寞╮ 提交于 2019-12-04 00:40:25
I read in the answers to this question that git fetch origin should fetch all branches of origin. In my case, it doesn't seem to give me any branches, though. Here's what I did: Initially, a remote called origin had 7 branches. I cloned it. git branch then returned only master . I did git fetch origin , and git branch still only shows master . How can I get the other 6 branches without fetching them individually? You have all 7 branches, but git branch only shows local branches. Even though you now have the branch data locally on your system, they are still considered "remote branches". You

How do I clone a large Git repository on an unreliable connection?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-03 19:45:55
问题 I want to clone LibreOffice. From the official website, this is what's written: All our source code is hosted in git: Clone: $ git clone git://anongit.freedesktop.org/libreoffice/core # (browse) Clone (http): $ git clone http://anongit.freedesktop.org/git/libreoffice/core.git # slower Tarballs: http://download.documentfoundation.org/libreoffice/src/ please find the latest versions (usually near the bottom) now, when I write this command in git bash to clone, it starts fetching. But the

git server information or ascii on remote operations (clone)

谁说我不能喝 提交于 2019-12-03 17:26:12
How can I configure my git server to display additional information or ascii art on remote operations such as clone ? An example would be on this page and is shown below. F:\>git clone https://myserver/tfs/DefaultCollection/_git/Proj Username for 'https://myserver': domain\username Password for 'https://domain\username@myserver': remote: remote: fTfs remote: fSSSSSSSs remote: fSSSSSSSSSS remote: TSSf fSSSSSSSSSSSS remote: SSSSSF fSSSSSSST SSSSS remote: SSfSSSSSsfSSSSSSSt SSSSS remote: SS tSSSSSSSSSs SSSSS remote: SS fSSSSSSST SSSSS remote: SS fSSSSSFSSSSSSf SSSSS remote: SSSSSST FSSSSSSFt

How to run two MATLAB instances simultaneously with different pathdef's?

妖精的绣舞 提交于 2019-12-03 17:17:22
I'm developing my own brain imaging toolbox that runs under MATLAB & SPM8, and at the same time I have a git clone 'd version of my own toolbox code directory (local git repository) for running analyses, this setup is created according to Kevin Reid's answer on How to work simultaneously on several different versions of files with git? , which solved a part of the problem (how to have different versions of same .m file accessible at the same time, and still synchronizable by using git fetch or git pull ). However, my MATLAB install is in neither of these git directories; it's installed

Git conflicted copy error while cloning a repository

邮差的信 提交于 2019-12-03 15:20:15
问题 I am using dropbox as a git repository. Now due to some issue in the syncing, there is some conflicted copy present in the git. How do I remove this conflict ? Due to this conflict I am unable to clone the contents of that repository. The error I am getting while cloning the repository is:- Git :- fatal: Reference has invalid format: 'refs/heads/debugging (xyz conflictedcopy date) ' 回答1: The solution that eventually worked for me was to simply delete the branch that the reference refers to, e

How to specify registry while doing npm install with git remote url?

独自空忆成欢 提交于 2019-12-03 15:04:08
问题 I want to be able to clone a git repository using a URL as specified here <protocol>://[<user>[:<password>]@]<hostname>[:<port>][:][/]<path>[#<commit-ish>] I am getting an error saying npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/XYZ So I should also be able to specify the registry while doing since modules are supposed to be picked up from a internal repository. Is it possible to specify registry while doing npm install with git remote url ? 回答1: npm gets its

Git: How to clone a 3rd party library into a subdirectory of my app's repository?

白昼怎懂夜的黑 提交于 2019-12-03 13:12:56
I'm trying to figure out the proper way to clone a 3rd party library (engage.iphone from Janrain) into my own app's directory structure in a way that will let me pull the latest changes and merge them with any changes that I make locally. I also want the 3rd party library (merged with my changes) to be included in the git repo for my own app when I push it. Structure would be something like this: myApp/ <- this is my app, which is its own git repo external/ engage.iphone/ <- this is the 3rd party library I want to keep up-to-date mySource1.h mySource2.m ... How can I set it up this way safely?

Clone a git repo (in depth)

梦想与她 提交于 2019-12-03 12:59:30
问题 How to clone a repo (with libgit2) I want to do exactly what git clone does but with libgit2 . What I may be asking is what git clone really does in depth. This is what I'm doing so far: Initialize a repo Adjust the config file to add the remote Create a git_remote Download a packfile Index the packfile and write the index (gives us a .idx file) (edit) Write all the different branches to disk. (edit) Do git checkout in some way. And now I have no idea what to do. My only guess would be to