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.
1
vote
1answer
106 views
Multiple git-annex repos on one drive
I think that this is possible with git-annex as it exists right now, but I'm just looking to make sure.
Right now I have a file tree that looks something like this:
+ knowledge
+ media
+ ...
And ...
2
votes
2answers
1k views
Homebrew installation of git won't take precedence over system version (in /usr/bin/)
OS X (or Xcode) comes bundled with git 1.7.something, but after brew install git (1.8.0), which git keeps returning the old /usr/bin/git.
This is what I get when I echo $PATH right now:
...
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
197 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 ...
0
votes
1answer
135 views
Accidentally installed two versions of git
I originally had git installed via Homebrew, but on this machine I forgot to setup the bash completion. So when I attempted to download the git source I accidentally installed a second version of git ...
2
votes
0answers
101 views
TortoiseGit stops connecting after a seemingly random amount of time
I use TortoiseGit to connect to a private remote git server, but after an indeterminate amount of time (possibly longer than 6 hours?), trying to connect results in a bad file number error. I've tried ...
2
votes
1answer
42 views
how to change git stash pop colors?
I use git on Windows 7. I just updated my git to 1.8.0 from 1.7.3.1, and one of the first things I noticed was that git stash pop now had some new coloring in the output.
Both modified and untracked ...
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 ...
1
vote
2answers
235 views
Accessing a remote Windows “Git Bash” prompt from a Linux machine?
"Git Bash" is a program that comes with Git for Windows. In order to get to a Git Bash prompt on a remote Windows machine from a linux machine, my usual process is to use remmina to open an RDP ...
0
votes
1answer
272 views
git pull using shell script
I have a shell script that pulls my repository from git.
Normally, it receives the credentials and the pull works just fine.
My question is what happens if the credentials are wrong and I get an ...
0
votes
1answer
76 views
Use latest version of installed Git on OS X
I'm trying to use the latest version of Git on my OS X computer, without success! When i write git --version, I see the pre-installed version 1.7.10.2. I would like to use 1.8.0 that i have also ...
2
votes
1answer
67 views
How to unrevert in git extensions?
I ran a revert commit in git extensions, and I did not realize it was going to remove all my code from exclipse as a result. How do I unrevert in git extensions?
0
votes
1answer
282 views
Installing GitHub for Mac - “Github cannot be opened because of a probem”
I'm trying to get started using Git for Mac, but I receive an error when I try to run the program. I'm new to GitHub and relatively new to Mac.
First, I installed Git using the downloadable .dmg ...
1
vote
1answer
265 views
How to access google/github respository behind VPN?
I cannot check out both code.google.com and github projects via git, but I can normally access them from IE/Firefox browser. There were a lot of discussions about git proxy configuration behind ...
1
vote
1answer
28 views
Unable to git pull while using putty
I have two machines (a. Ubuntu machine b. Windows machine)
I have cloned code from a github repo in the Ubuntu machine and I am able to run git commands if I login into the Ubuntu machine (directly)
...
0
votes
1answer
69 views
Git commits via command-line fail, showing > symbol
I'm new to bash. After I've staged files to my local git repository and typed in the commands to commit:
git commit -m "Descriptive message"
Git (or is it terminal?) stops dead, showing the
...
2
votes
1answer
103 views
how to merge changes from original project — GitHub in Windows
I created an account at https://github.com/, fork someone's project so I have my own repository, instal github client for windows, and clone my repository to my local drive.
I will work on my local ...
1
vote
2answers
72 views
automating script via GIT for windows
I'm running GIT for windows 1.7.11, I have a shell script that I want to automate, I am not willing to bog down my network running the script during the day and I have no desire to come to work at ...
1
vote
3answers
77 views
Students/staff sharing many computers to develop software [closed]
What's the best way to have students and staff share computers? We have to have a mix of Macs and Windows 8 PCs. Right now, we have USB flash drives with our work. This worked great. Problem is now ...
0
votes
0answers
34 views
git svn on multiple machines [closed]
My repo is SVN and I'm using git-svn to interface with it which has been working out well.
I'm working on the code base from a few different machines and appreciate some insight as to what the best ...
2
votes
0answers
99 views
How to remotely clone Git repository on Windows Storage Server 2008?
I have a Western Digital Sentinel at home running Windows Storage Server 2008 R2 Essentials. I have several Git repositories on it for my own personal projects, and have no problems pushing and ...
2
votes
1answer
458 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 ...
3
votes
1answer
1k views
GitHub for Windows Install Error
I'm trying to install the GitHub for Windows that I downloaded from the GitHub site. However, I get the following error message:
Application cannot be started. Contact the application vendor.
...
0
votes
0answers
184 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
26 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 ...
2
votes
0answers
89 views
git over webdav http-push-failed error
I'm trying to set up git via WebDAV, the idea is to host it on my NAS where I cannot install any software, so I can't really use smarter transports.
Now clone works, but push does not: I get ...
1
vote
1answer
166 views
How to install GIT on an offline Ubuntu 7.10?
I'm using the following commands from the manual to install GIT
$ tar -zxf git-1.7.2.2.tar.gz
$ cd git-1.7.2.2
$ make prefix=/usr/local all
$ sudo make prefix=/usr/local install
but I'm receiving ...
1
vote
0answers
86 views
SSH from ubuntu server to Windows 2008 repeatedly asks for password
I am trying to setup GIT using SSH mode. The central GIT repository is on a NAS device running Windows 2008 server and the user GIT repository is on ubuntu 12.04. When I try to SSH to the windows ...
0
votes
0answers
113 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 ...
1
vote
0answers
33 views
Intellij setup git macro
I would like to know if its possible to setup a macro for git.
I want to be able to shortcut a git workflow :
for instance :
git checkout b
git pull
git merge a
git push
git checkout a
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
1answer
382 views
GIT not functionnal on Mac OS X Lion?
I am trying to use GIT to manage my computing projects. But all commands using GIT do not respond on my terminal. For example if I try git --version followed by entry keyboard typing, a blank line ...
1
vote
1answer
866 views
Mountain lion and git-completion
I have ML with Xcode installed tools (git coming from there).
Later I've installed brew and install bash-completion, but git commands still not auto-completed.
Brew has no such package. Google does ...
0
votes
1answer
71 views
Symlink in ec2 /var/www/html/
I'm having problems with EC2 in the Amazon Cloud.
My steps:
I have a symlink to the S3 in /var/www/html
I update my code and upload the code with git aws.push in my environment (var/www/html)
...
3
votes
1answer
149 views
Right and fast way to test git directory and git branch?
While trying to set up my new fish shell prompt, I ended up testing ways to get the branch name and also testing if I was on a git repository. I have found (1) git rev-parse --abbrev-ref HEAD, (2) git ...
3
votes
1answer
102 views
File Sync (Mirror/Replicate) From source to multiple targets
My situation is this; I need to find a way of mirroring a folder with 60gb+ of mp3 files from a server (or cloud) to at least 100 clients based around the country. All of these clients are internet ...
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 ...
4
votes
2answers
342 views
How to turn on git syntax highlighting on vim on a Mac
I just recently switched over to Mac. On windows I was using git through the msysgit project. When doing a git rebase -i I'm used to get a nice syntax highlighting in vim. I'm missing it badly now ...
1
vote
2answers
77 views
VPS Git vs custom git service [closed]
Is there any reason I should pay for a custom git service like unfuddled or bitbucket, something to that extent? I have a vps I'm paying $5 a month for 50 gb of storage space, and it just doesn't seem ...
2
votes
2answers
82 views
git setup for local development
I had went through few Git Tutorial and Essential Training, I had basic knowledge for GIT.
What I had learn from the tutorial, they teach me how to init git repository / github (as remote).
I got a ...
6
votes
3answers
801 views
Vim powerline doesn't show the current branch
I'm using the vim plugin called powerline and it isn't showing the git branch I'm on, while it's supposed to be activated by default. The fugitive plugin is installed, though I don't think it was ...
0
votes
0answers
55 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
1answer
223 views
Github's Windows application versus Git-1.7.11 (aka MSYSGit)
I was using MSYSGit. Recently installed Github's Windows application. It crashed 1-2 times while "extracting the GIT. Please wait" screen. Then worked. I got some questions
Is there any chance that ...
0
votes
0answers
19 views
How to install git without sudo access on a server? [duplicate]
Possible Duplicate:
Install git on server without sudo
installing packages without sudo access
I am working on university's server via ssh. I need git. How do I get the dependencies ...
0
votes
1answer
133 views
Cygwin - Repo with Separate Git/Working Dir Doesn't Work
Since I've switched to OS X and Vim, I've found it easiest to manage all of my 'dotfiles' (all of my configuration files and miscellaneous scripts) with Git. Having already set up my dotfiles in a ...
0
votes
2answers
267 views
using git for media libraries
Rationale:
I want to manage libraries of media files (music, images) using git, there is git-annex but it requires haskel platform - but they do not play together well (also it's quite to big ...
2
votes
1answer
422 views
Git doesn't observe new exceptions in .gitignore
[NOTE: This is not the usual "Git still tracks files I just added to .gitignore!" problem. This is the opposite of that.]
I have a website's full directory structure in a Git repository. The CMS I ...
0
votes
1answer
370 views
ssh keychain for git pull cron
I am a bit of a newbie with linux, so must apologize straight away if this is something obvious and/or silly.
I am trying to create a git pull cronjob that gets update from GitHub repo every few ...
4
votes
2answers
43 views
when checkout a previous commit, Is there a quick way to input the log commit hash?
It's really tedious to type the following command:
git checkout 622fe0a9b6bffdf4723026ae6e673245b510ac66
Is there autocomplete or shortcut to do this?
0
votes
1answer
88 views
How do you use a VCS (preferably git) to synchronize local directories?
I'd like to have a simple, script-like backup solution to synchronize 2 local directories which provides a "fail-safe"-mechanism allowing to undo 1 commited unwanted modification of a file that got ...