Git is an open source distributed version control system originally designed and written by Linus Torvalds. It has been designed with some of the following goals: Speed. Multiple patches can be applied quickly even to large repositories. Distributed development. Git can support developers who ...
2
votes
1answer
13 views
Why is there no “pathspec” when I try to remove a folder in Git?
I am trying to remove a folder from my Git repository with
git rm folderToRemove
but Git issues this error when I try to do so.
fatal: pathspec ...
1
vote
1answer
33 views
Cannot login to ssh after installing Gitolite? PTY allocation request failed on channel 0
After I installed Gitolite onto my Synology DiskStation NAS as per these instructions:
http://www.bluevariant.com/2012/05/comprehensive-guide-git-gitolite-synology-diskstation/
I realized that I ...
1
vote
2answers
50 views
Problems installing GIT on Ubuntu (Jaunty) via apt-get
I am trying to install git using sudo apt-get install git-core
But it fails with this error message:
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
...
0
votes
1answer
25 views
Synology NAS - Setting up git, path errors when pushing/cloning from local to NAS
I'm setting up a NAS server with Git for the first time, so please forgive the noobish questions (it also means I am super thankful for any detailed explanations you can give me, because I am kind of ...
0
votes
1answer
29 views
How can I set a git config item as a function?
I'm trying to set up the gist gem, but I don't want to have my GitHub password stored as an environment variable or git config item. The README from the GitHub repo explains,
You can also define ...
0
votes
1answer
19 views
Git - List all files currently under source control?
Is there a way to list all files currently under source control in git? (Not just those that have been modified).
1
vote
1answer
17 views
How do I resolve the git-svn error 'refs/remotes/git-svn$: command returned error: 1'?
In the process of converting a Subversion repository to git, you might encounter the following error while converting svn:ignore settings to .gitignore:
config --get svn-remote.svn.fetch ...
1
vote
1answer
24 views
How to generate key for git on NAS server?
I'm trying to set up git on my NAS server (Synology DS212J), and now I've gotten to the part where you're supposed to copy my public key... but I don't really understand what it is referring to.
Is ...
1
vote
1answer
29 views
How to set up git in NAS Server (git, ssh, busybox)
I'm trying to set up git using my Synology DS212J NAS Server.
I've been following these instructions:
http://www.wonko.de/2010/04/set-up-git-on-synology-nas.html
But I am very much a beginner with ...
1
vote
0answers
38 views
Git differences between OSX and Linux
This has been driving me somewhat insane but I can't find any information on it. I have both Mac and a Linux (Ubuntu) machines. I work on both but I'm finding Git is behaving very differently during ...
1
vote
1answer
60 views
Git committing creates a file called “-”
It's very hard to search for on Google with the amount of documentation there is about git, but basically, when I do a "git commit", it creates a file called "-". It has nothing in it, and is owned ...
0
votes
1answer
17 views
git-number not working on Linux: sh: git-id: not found
I've set up the script git-number on my Cygwin computer without any problems. I've put all three required scripts in a folder in my home directory called bin/ and everything works fine. Now I'm trying ...
0
votes
0answers
20 views
Fail to instll git-core on RedHat [closed]
I have try yum command to install Git but display following error on RedHat.
yum install git-core
Display error like..
perl-Git-1.7.4.1-1.el5.i386 requires perl(:MODULE_COMPAT_5.8.8)
...
1
vote
0answers
11 views
Virtual host with a directory out of the DocumentRoot
I am using Git in C:\Users\MyUser\repository and I would like test the app with an Aoache server although I have a server running right now and I need a virtual host. How would I config a virtual host ...
1
vote
1answer
32 views
How to properly copy/paste code from .pdf to a new file open on terminal?
I have a pdf containing the following code:
#!/bin/sh
echo
echo “**** Pulling changes into Dev [Hub’s post-update hook]”
echo
case “ $1 ” in
If I copy and then paste that code on my terminal, after ...
0
votes
3answers
41 views
A desktop app for viewing the latest updates to git repositories in real-time? (OS X)
Does anyone know if there is a simple OS X app that can display real-time updates to git repositories?
Basically, I'm working on several repositories with multiple people, so normally I always have a ...
0
votes
0answers
160 views
Ubuntu:ssh: connect to host github.com port 22: No route to host
I am using Ubuntu 11.10 and followed the help doc at github.com to set up git and connect to github but when I got to step 5 of the set up ssh keys section :Test everything out , When I used this ...
0
votes
0answers
28 views
How do I use installed Vim in Git Bash instead of the one that came with Git?
I've installed Vim and Git to C:\Program Files (x86)\(vim|git) respectively.
When I run Vim from Git Bash, it runs the internal version of Vim that came with the Git installer. Is there a way to ...
0
votes
2answers
108 views
Mac terminal keeps using SSH key with same fingerprint when running git clone
It doesn't matter what I do, create new SSH keys, add them manually to Heroku, delete all keys from Heroku and add a new one, force delete the entire ~/.ssh folder, overwrite id_rsa keys, create ...
1
vote
1answer
35 views
Git workflow: how to save and share changes in a clean way
This is a question about a best practice. It's probably simple but I'm still fairly new with Git, and I'd like to get good habits for things I do frequently.
The situation is the following. I have ...
0
votes
0answers
22 views
View which patches have been applied to a git repository
Is there any way to view a patch history or something similar using git? I am trying to document which patches have been applied to make the Linux kernel happy with certain boards.
I could use git ...
0
votes
0answers
23 views
Allow PHP to perform a Git Pull in Mac OS X
I've been trying to develop a simple php script that will perform a git pull, however I've been running into a problem.
My code is very simple:
chdir($directory);
$output = shell_exec('git pull');
...
5
votes
1answer
120 views
Git corrupt master branch
I open my Git repository using gitExtensions on Windows 7 for a Visual Studio project. It is suddenly empty. The repository exists, but all my commits have disappeared.
I am using the graphical ...
0
votes
1answer
192 views
How to have Sublime Text 2 show git folders and files in the sidebar?
When adding a folder to a Sublime Text 2 project, it doesn't seem to show .git subfolders. It also seems these files cannot be opened by Ctrl-P.
I disabled the Git plugin but that didn't help.
2
votes
1answer
62 views
Can checkout and track git branch, but cannot pull
So we have a branch in our git repo called creative_market. I run the command git checkout --track origin/creative_market which works fine. All of the changes that should be on the creative_market ...
0
votes
2answers
30 views
Git to keep snapshots of a full Windows environment?
Is it possible/convenient to use Git to keep snapshots of a full computer running Windows?
I wonder if it could use simple Git branching to jump from one state to another and have different ...
0
votes
0answers
24 views
Why every time I run gitk from a Mac OS X Terminal it opens in background?
Every time I run gitk from a Mac OS X Terminal it opens in background.
In other words, gitk is always shown behind the Terminal window.
Actually, gitk is the only tool manifesting this strange ...
0
votes
1answer
43 views
git cannot allocate memory - git svn rebase
I cannot run git svn rebase in my repository as I am getting:
Can't fork: Cannot allocate memory at /usr/share/perl5/vendor_perl/Git.pm line 1262
The output of free indicates I have plenty of free ...
0
votes
2answers
60 views
Git still at older version after update on OSX Lion
Previous version of GIT was 1.7.5.4. I decided to update to a newer version 1.7.9.4
Installer showed it was installed, but when checking the version number in the terminal it showed that it was still ...
2
votes
0answers
24 views
Self Built MacVim on OSX 10.6 doesn't open a GUI window
I've noticed the MacVim downloads page has stopped uploading pre-compiled snapshots for OSX 10.6 (only 10.7 is supported now, with 10.6 considered LEGACY). I'm still using 10.6 and wanted to build it ...
1
vote
1answer
39 views
Make Filezilla work with .gitignore files
Is there a way to make Filezilla read the settings i added to .gitignore file and then do the same? (ignore the files specified in the gitignore file)
2
votes
4answers
111 views
Why is Git falsely noting that my files are up-to-date?
I have 2 folders A and B in my file directory that link up to the same Git repository.
I created a file in folder A called "index.html". I then create a different file also called "index.html" in ...
1
vote
2answers
52 views
Installing a second version of e.g. git, perl and or python on osx lion
At the moment i am running git 1.7.5.4, perl 5.12.3 as well as python 2.7.1 on osx 10.7.3, which were all included in the basic system setup. Applying the "which" command the locations are:
...
3
votes
0answers
92 views
Git completion with aliases
I have a convenient dotfiles repo on Github for you all to look at, here. FYI, git is installed via Homebrew, as with most of the executables on my system.
My git-completion in zsh works fine when I ...
0
votes
0answers
29 views
Using Git to make a new version of my WP site [closed]
Hi I have a WP site and I want to modify it substantially, making a new design and replacing many plugins by custom code.
My idea was to download a copy of it and set it up locally, then I would like ...
0
votes
1answer
52 views
Why don't applications update by calculating difference?
I have Ubuntu computers and an Android phone, and it's always perplexed me why the default update manager on Ubuntu and Google Play on the phone don't update existing versions of applications by ...
2
votes
1answer
183 views
code.google.com: git: fatal: remote error: Repository not found
I have created a new repository in code.google.com, generated the code.google.com password and updated my ~/.netrc with
machine code.google.com login <email-id> password <password>
As ...
0
votes
2answers
39 views
How can I see a detailed difference between files in the last git pull?
I run a git pull and see that a file has changed. I would like to see a line by line difference of what has been added or removed.
I tried git diff 12345..67890 , (newest commit)..(second newest ...
1
vote
3answers
68 views
Using git, how do I go back to first commit then go through the history?
I cloned a project from Github and now I wish to revert it to the first commit, how would I do this?
Also, once I am back to the first commit, how do I go up to the second commit, and then from the ...
1
vote
1answer
91 views
Version Control for Eclipse that's like Xcode 4's version control?
I really enjoy Xcode 4's version control with git. It's all very simple and intuitive and enables me to be extremely productive. If I modify a file, a little 'M' pops up next to the file and all I ...
1
vote
2answers
87 views
Can Git be used when “experimenting”, changing drivers and software on Linux?
I have no idea how to use any backup software with Linux, but I do know Git. I hope this isn't a silly question as the obvious answer is to use some form of backup software, perhaps - but, I was ...
0
votes
1answer
55 views
How can I share a git stash?
Is there a way to share a stash in git?
I work on a number of machines, and often want to be able to move my current working state from one to another.
I'm looking for a way that I can push/pull a ...
0
votes
1answer
93 views
git init --bare permission denied on 16gb USB stick
I am using GIT on a Windows 7 machine (64 bit) and have been learning how to use GIT to version control my files.
Now I want to be able to create a --bare repository on an external device (in this ...
0
votes
0answers
155 views
Why does git difftool not work with vimdiff?
I just set up git and set git mergetool to vimdiff and it works as expected.
If I set git config --global diff.tool vimdiff
it behaves strangely:
git diff x y will open less and display the changes ...
0
votes
1answer
69 views
SSH Github can't connect
I went away from Git for 4 months and now returned to it, using @Treehouse Git Tutorials.
I tried installing Git 1.7.9.1 but my computer Mac OSX is already installed V.1.7.5.4 from 4 months ago and ...
1
vote
0answers
128 views
Why is it that XCode cannot push my changes?
I am writing an iOS application in XCode. I associated a remote repository to it.
I finished writing a View Controller file and then went to File -> Source Control -> Commit. I wrote a commit ...
1
vote
1answer
107 views
Why is git so slow with large files?
I was trying to use git to manage my pictures (backup / take snapshots). The entire library is several GB. Most of the files are JPGs of 2-3M. When I was adding the files into repository, it seemed to ...
0
votes
1answer
131 views
Git clone on an ovh host server
I want to do a git-clone from an ssh connection, on an ovh host-server, but it does not work:
Here's the command I entered:
git clone ssh :/ / forumdesy@ftp.forumdesthinktanks.fr / www / (and all ...
1
vote
1answer
95 views
How can you avoid being asked to enter your BitBucket password when you push to BitBucket wiki?
I'm not sure if everyone experiences this - when I edit a BitBucket wiki locally (through a git repository) I have to enter my BitBucket password for every pull and push.
Is there any way around ...
1
vote
1answer
99 views
What is the difference between git svn init + fetch and git svn clone?
While trying to use locally Git at my workplace where we use SVN I was searching a lot for how to set everything up. From what I found it seems there are two approaches to the problem, either:
git ...