Git is an open source distributed version control system originally designed and written by Linus Torvalds. It is generally used to keep track of source code for software projects. As a DVCS, Git provides powerful help with branching, merging, and distributed development.
3
votes
1answer
134 views
SSH: “no such identity”
I'm having a very peculiar problem getting SSH to work on my Linux box. I have a passwordless git user identified by an OpenSSH key. If I attempt to ssh into it from either the same or a different ...
2
votes
1answer
47 views
How do I show the git status in the emacs bottom bar?
Is there a way to show the current branch, pluses, minuses, and authors in emacs status bar? Something like:
-UU-:**--F1 buildfile Top (84,16) (Ruby Paredit AC yas Fill) ---(git: master ...
2
votes
1answer
58 views
What is the usual procedure for working with remote Git repositories?
A slightly open question regarding best practices, I can find lots of functional guides for git but not much info about standard ordering of operations etc:
Whats the standard/nice way of working ...
2
votes
1answer
83 views
Unable to clone bare repository with Git
I've created a bare repository on an external hard disk in path
/media/Segate/Repos/project01.git
Then I've added and commit the latest version of my project sources to this repository.
Then I ...
2
votes
1answer
449 views
Master does not appear to be a git repository error
I've inherited a position and instructions for creating a new git repository. Unfortunately I've run into problems and no one here knows what to do. Hoping someone can help me out.
Here are the ...
2
votes
1answer
20 views
I want to replace my git local repository with the repository I am forked to.
I do not want to merge because this is the problem.
Let's say my repository looks like this: (letter's are commits)
A
B
C
D
E
F
G
'A' is the head. And I have two commits ('E' and 'C' that I want to ...
2
votes
1answer
195 views
How to remove/hide GitExtensions toolbar from Visual Studio?
I tried:
right-click on a toolbar and uncheck GitExtensions
right-click on a toolbar > Customize and delete GitExtensions
moved the toolbar from the second row to the first row
searched ...
2
votes
1answer
449 views
GIT Identity file not accessible: No such file or directory
Host github.com git
HostName github.com
user git
IdentityFile ~/.ssh/github //I've tried also /home/freinn/.shh/github
There's no /home/freinn/github file created, have I to create it?
That's the ...
2
votes
1answer
127 views
Virtual host with a directory out of the DocumentRoot
I am using Git in C:\Users\MyUser\repository. I would like test the app with an Apache server although I have a server running right now and I need a virtual host. How would I configure a virtual ...
2
votes
1answer
520 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 ...
2
votes
1answer
76 views
Git keeps forgetting the current directory
I've got a git repository, call it myscripts/. Within myscripts/ are subdirectories perl/, python/, and ruby/. For some reason, when I edit code in one of the subdirectories, Git forgets that the ...
2
votes
1answer
2k views
“Could not resolve host: github.com” error while updating Homebrew after installing git
I'm using OS X Lion (10.7.2).
I installed Homebrew on my Mac, and I executed the command below.
$ brew install git
and then:
$ brew update
error: Could not resolve host: github.com; nodename nor ...
2
votes
1answer
192 views
How can I synchronize and backup a large number of git repositories?
I have a number of git repositories which I would like to keep synchronized and backed up. By synchronized, I mean that I work off of several different computers and want to always use the latest ...
0
votes
0answers
74 views
Can you sync Notepad++ and GIT?
I'm still fairly new to Git. Although I have technically used it for almost a year, most of it was with someone else standing there telling what to type. I used Titanium before to upload and download ...
0
votes
0answers
12 views
Available branch name vars in merge
I'm trying to do a config command for merging branches. I see there are some vars available like $BASE $LOCAL AND $REMOTE
These vars contain the name of the file followed by the base, local, remote ...
0
votes
0answers
23 views
CentOS Auth Keys Limited Access
I have tried but it seems that I couldnt ask the right question.
We have alot of users and alot of Repos. I know that we can add auth keys to the server and allow users the password-less git access ...
0
votes
0answers
19 views
Is there a way to make TextMate remember its state when switching branches?
I'm looking for a plugin or bundle which enables TextMate to bind it's state to the current branch. By state I mean open tabs and open folders in the project drawer.
Here is my scenario:
working on ...
0
votes
0answers
16 views
Is mingw32's bin directory the same as git-bash's bin directory?
I'm cross posting this from stackoverflow because it may be better suited here. ( I'm never sure )
I am trying to follow the directions from ...
0
votes
0answers
46 views
Git osx-keychain not saving password
I followed the instructions: https://help.github.com/articles/set-up-git , but no matter how many times I type in my info, it doesn't save it.
when I do git credential-osxkeychain i get the "Usage: ...
0
votes
0answers
17 views
GIt public repo - how to update the cloned repo?
I am looking to allow anon access to specific areas of codebase, I read a few how-tos and docs on git-daemon that use the git clone clone --bare approach and serve the cloned repo, with git-daemon. ...
0
votes
0answers
33 views
How to remove Git from previous Snow Leopard install, now running OSX Lion
Git was installed on my Mac in the previous OS, Snow Leopard. Over this I installed Mac OS X Lion, and I now want to remove Git.
I tried removing all folders and files called "git" but in Terminal it ...
0
votes
0answers
32 views
How to install git-cola in cygwin?
This might be a stupid question, however I can't get it working.
I know it has been ported. I've found both the sources and the binaries. I've downloaded all the files from here and tried cygwin ...
0
votes
0answers
118 views
git pathspec did not match but file exists
I am writing a program that generates a list of git commands that are then passed to a remote server to be executed.
Basically, I want to update remote server local git repository with a given list ...
0
votes
0answers
42 views
Git is getting slow. What can I do?
The git repo I am using is >3gb. There are many binaries in there yes. Its also old with hundreds of thousands commits. It takes a bit to do operations like blame, search, etc. Checkouts are pretty ...
0
votes
0answers
24 views
GIT with post-receive with multiple checkout doesn't delete files in second checkout
I've a bare GIT repo on my own server (not Github or anythin). It has a post-receive with 2 checkouts:
#!/bin/sh
GIT_WORK_TREE=/var/www/riagg git checkout -f
GIT_WORK_TREE=/var/www/virenze git ...
0
votes
0answers
12 views
Is there a way to reset message “This is a large commit. Click here or press 'v' to view.” in GitX?
Accidentally committed a large directory, and removed it from the history.
But gitx still warns: "This is a large commit. Click here or press 'v' to view."
Where is this warning coming from? (It is ...
0
votes
0answers
54 views
how to create a batch file to sync two git servers from master to local
How to create a batch file to sync two git servers from master to local ?
My requirement is;
Archive my local code with data and archive file should save till 30 day.
Clone master repository.
...
0
votes
0answers
68 views
How can I uninstall Gitorious?
I have installed Gitorious on my CentOS server but the SSH public key authentication method does not serve my purpose as most of the users are on Windows and will be using more than one computer.
I ...
0
votes
0answers
101 views
how do I add the 'tree' command to git-bash on Windows?
I'm using git-bash on Windows 7. I'd like to see a tree of the current directory. However:
jcollum@DEVELOPER01 ~/Dev/express_coffee
$ tree .
...
0
votes
0answers
79 views
git gerrit cherry pick changes amends the commit message
In gerrit, when the project settings are set to 'Cherry-pick' (as opposed to 'Always Merge' or 'Fast Forward only' etc...) gerrit amends the commit message when it does they cherry pick and adds:
...
0
votes
0answers
17 views
Git Bash - I can't select a directory, its always the same
I've been using Git for about 6 months now, I right clicked on a folder and clicked Git bash but for some reason it just wont select that directory. So, in the window it should say the folder I have ...
0
votes
0answers
84 views
OSX: sync Documents folder to Dropbox with version control
I have ample storage in Dropbox to sync my entire OSX Documents folder, and I'd like to this just so that I have it anywhere I go. I found this question, which describes a method for doing this with ...
0
votes
0answers
85 views
Remote Git server no write permissions
I have staging server with a 'git' user. I'll store my repositories in the home: /home/git/ folder.
In the same server, my web server serves my test page from /srv/http/page. Now I link the ...
0
votes
0answers
25 views
reusing git zsh completion
I have a function (gdiv() { git div; }) and I want it to use the same completion as git log. I've spent a couple hours playing around with compdef and digging into ...
0
votes
0answers
39 views
efficiently checking out git branches
I have a project on github. So I cloned it on my local system:
git@github.com:xzy/Core3.git
I have a remote branch in that repo called core_staging, so I check it out:
git checkout -b core_staging
...
0
votes
0answers
34 views
authenticated git commits?
I am developing code on a virtual machine that I plan to deploy later on, so I would like to use git from the virtual machine to do commits and push code to github, but do it in an authenticated way ...
0
votes
0answers
183 views
How do I git-push to an FTP server?
Has anyone managed to do a git-push to a repository on an FTP server? According to the man page of git-push
Git natively supports ssh, git, http, https, ftp, ftps, and rsync protocols.
I can ...
0
votes
0answers
25 views
Where can I get the git-core .deb file for jaunty?
I m new to the ubuntu and got a friend server on which i whould Like to install git-core. but since jaunty is EOL already. there is no packages available for the same, so I guess deb file will make ...
0
votes
0answers
112 views
Error on git clone in cygwin: error: inflate: data stream error (invalid code lengths set)
I am trying to clone a repository using git on cygwin.
Machine is a Windows XP machine, running a newly updated version of cygwin
I have cloned this repository without any trouble previously, but on ...
0
votes
0answers
53 views
Can or should I ignore RestKit.xcodeproj on Xcode project?
I have an xCode project with RestKit Submodule in it.
I found that the RestKit content is shown as modified in git. checking out the RestKit 'git status' I saw that:
modified: ...
0
votes
0answers
55 views
Xcode 4.3 git commit with organizer: strange error
I always commit with organizer to backup my work and that worked well. But juste from yesterday I can't do that! When I commit, il tellls me "All 8595 files will be committed", but I've never changed ...
0
votes
0answers
54 views
Whats the difference between pulling from a branch into master and pushing that branch onto master?
In Tortoisegit, on the repository, I right-click and select sync. At the top of the dialog there are options for Local Branch and Remote Branch. If the local branch is named DeveloperA and the remote ...
0
votes
0answers
36 views
Import SVN to GIT fails with filename outside ASCII
I'm trying to import SVN repository to GIT which (unfortunately) has some file names with CP1250 characters in them. This results in an error while trying to clone:
r990 = ...
0
votes
0answers
233 views
Setting up Git Redmine hosting plugin
I'm trying to configure the Redmine Git hosting plugin but I'm struggling with some difficulties in setting up the proper permissions to the web and git users. When I access the plugin settings ...
0
votes
0answers
31 views
Is it possible to specify a network connection for an application on OSx?
When i have multi network connections i want to set default connection for an app if it's possible.
Example:
In my company i have issues for connecting github's git:// domains due to international ...
0
votes
0answers
155 views
Sync MacOS system/account/application preferences across multiple computers
Seeking a more-version-controlled and distributed means to sync system/account/application preferences for the same account across multiple MacOS machines then what's presented at How can I replicate ...
0
votes
0answers
26 views
Rebasing on a third party changed tree
I use my own git repository for tracking some third-party source tree and put a couple of mine commits on top of it. Usually, when I want to try a newer version, I only need to call git rebase ...
0
votes
0answers
711 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
228 views
Unable to login using ssh PuTTY
I'm facing a weird problem with ssh login using PuTTY to "git.xxx.com".
Weirdest thing is using same privateKey file I can login successfully with my Windows 7 machine,
but not with my Win XP machine.
...
0
votes
0answers
140 views
How can I make FTP ignore Git Files?
Is there a way that I can have my FTP client ignore the .git directory? Is there anything like the .gitignore (.ftpignore) file with FTP?
