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
138 views
Have git-annex control files on a partition but still use the partition the normal way?
I want to have all my files on a partition to be controlled by git-annex to be able to take them with me to other computers via an externel drive. Still I want to use the partition normally (creating, ...
1
vote
0answers
93 views
Svn analog of git-shell
I have configured git,so I can pull/push via ssh, authorization via public key,
but if I try to make direct shell access, I get
Last login: Mon Aug 13 20:12:20 2012 from 192.168.1.3
fatal: ...
0
votes
1answer
229 views
~/.ssh folder recover
i have created sucessfully , a public private key pair , with ssh , with github it worked perfect .
but , when i did with git.assembla.com , i faced permission issue , so i tried to create a new pair ...
5
votes
1answer
468 views
ZSH tab completion of git commands is very slow. How can I turn it off?
If I type:
rm <TAB>
I'll see possible completions almost instantly.
However, if I type:
git rm <TAB>
It'll hang for several seconds if it's in a git repo, or fail to show any ...
0
votes
1answer
480 views
How can I make files I check out with git on Windows writable by default in Cygwin?
I'm developing on Windows and I prefer to run git and build commands from the Windows command line, but I also enjoy using cygwin sometimes when I want to just explore the project repository using my ...
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 = ...
1
vote
1answer
298 views
Using local private key via putty -> shell on remote server -> github
Is this scenario possible:
Using putty/pageant to connect via SSH to a remote linux server (ubuntu)?
In the shell on the remote linux server doing "git push origin master" to github (url = ...
0
votes
2answers
44 views
Can I run git tools against a remote repo?
I'm working on a project on a server machine where git is not available. This is likely not going to change in a close future. I wonder if it is possible to use my local installation of git to work on ...
4
votes
2answers
451 views
How can I Resync a fork from original
I just forked a project in Github. I made modifications and send pull request. Th owner merge my fork with the main project and after that he made some modifications. So for now my fork is not updated ...
4
votes
2answers
386 views
Vimdiff and git all at once
I use vimdiff as my difftool with git.
Let's say that I've changed twelve files. The problem is that sometimes I run git diff and around the fourth or fifth file I see something that I want to ...
1
vote
1answer
65 views
Why does git branch info clear upon making a new tab in terminal
I've written a bash script to put git info into my bash prompt, along with still keeping the terminal's pwd in the title bar, to allow for new tabs to be opened at the current working directory. It ...
3
votes
3answers
884 views
Removing git from /usr/bin
I'm on OS X 10.8 and I'm using Homebrew. brew doctor tells me that I have 2 git installations, one in /usr/bin and the other one in /usr/local/bin.
Is it a bad idea to remove git from /usr/bin? If ...
18
votes
1answer
3k views
Git Bash Here in ConEmu
How do I create a right-click context menu entry to open Git Bash at a given folder within ConEmu? See Git Bash Here in Console2 for the equivalent question for Console2.
2
votes
1answer
87 views
When changing branches in git, how files are replaced?
There's something I don't understand about how git manages files when changing branches:
When I run
git branch xxx
What does happen to the existing physical files? Are they being moved? Deleted? ...
0
votes
1answer
74 views
how to checkout old version from GIT
we have a remote git repository, and a development branch.
i'd like to "fork" a particualr directory for (a-la code freeze).
for example,
|
+ -dir1
|
+ -dir2
|
+ -dir3
i need to ...
0
votes
1answer
113 views
Roll back git master repository and branch commits from rollback point
I have a Git repository set up. This repository has almost 700 commits, but all of them is in the master branch. I would like to take an approach in which I roll back this master branch (this rollback ...
0
votes
2answers
1k views
Install git on server without sudo
I'm trying to install git on a server with a user that does not have root access. I've seen a lot of tutorials that suggest using ./configure, but when I downloaded the latest git zip from github, ...
0
votes
0answers
234 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 ...
1
vote
1answer
950 views
git bash-completion on mac osx does not work following standard installation instructions
I read a bunch of instructions for installing bash-completion for git, and settled on the macport solution, which is, for example, mentioned here: How to get git-completion.bash to work on Mac OS X?
...
1
vote
1answer
311 views
Can Git GPG program be used for s3cmd?
My ultimate goal is to be able to put files onto my Amazon EC2 server. After a month of failed attempts at getting SSH access to the server, I have decided to try s3cmd and eventually migrate files ...
0
votes
0answers
77 views
Online backup service with advanced selective sync feature [closed]
I want to backup my data to a cloud. The issue is that all they are spread around the whole file system, so I need a possibility to set rules to filter what is to be synced, like:
don't sync mp3 ...
1
vote
1answer
153 views
How do I know what repositories my git server is serving
I have just been access to a server that someone said is "the git repository"
I have not used git before, but I assume that must mean there are a set of files somewhere that are the "gold copies" ...
3
votes
1answer
341 views
How to setup GIT repo on server with need for working dir (non- bare)
I want to have configurate a GIT repo for a website.
Multiple users will have a clone of the repo on their local machine and on the end of each day they push their work to the server. I can setup a ...
0
votes
1answer
729 views
Bitbucket - permission denied (public key)
I have repos in github and bitbucket.
First I wanted to use same public key in bb and gh with no luck.
So I created another public key, my .ssh/config file look like this:
Host bb
HostName ...
0
votes
1answer
167 views
git bash: navigating to project folder
I have installed Git bash and I haven't used it yet. I want to run few commands to install some modules, but I don't know how to navigate to my project folder.
My project folder: ...
0
votes
1answer
56 views
How can I prevent Textmate from reloading files when I change git branches?
I use Textmate to edit source that resides in git branches. This is what I am trying to do:
1) On branch A, open file index.htm in Textmate.
2) Checkout branch B, open file index.htm in another ...
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 ...
1
vote
2answers
86 views
Getting started with git
I want to use git to version control files in a new project. I have read an overview of git, but it is not clear to me if git hosts the code for you.
I do not want my code to be hosted on a third ...
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
2answers
54 views
How to check if bzr “Tree is up to date” ? (to only build when necessary)
I'm setting up a script to download, build and install a big project (that uses bazaar) and want to trigger the build process only if the "bzr update" does NOT return "Tree is up to date at revision ...
1
vote
2answers
702 views
git: Delete all tracked files?
I have a directory containing a git repo as well as other unrelated files which I do not want tracked (its my home directory, sorry if this is bad practice--alternative recommendations for versioning ...
0
votes
1answer
171 views
Bash Prompt Not Showing Colours (git)
I have the following in my .bash_profile, to give me git branch info in my bash prompt:
# Configure colors, if available.
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
...
1
vote
1answer
27 views
best way to record local modifications to an application's configuration files
I often install applications in Linux which don't come in package form but rather one just downloads a tarball, unpacks it, and runs the app out of the exploded folder. To adjust the application to my ...
1
vote
2answers
2k views
error: cannot fork() for status: Resource temporarily unavailable (git)
when I want to do something: add , remove, pull , push in github, I just have this error in my terminal
Thanks in advance!
selnaz:iOS-Tidinfo Lnaz$ git add .
error: cannot fork() for status: ...
1
vote
1answer
533 views
Git — SSH Agent not working
The back story -- I've been using Git on this computer (Windows XP) for about 8 months with no problem. Suddenly, last week, it is no longer asking me for my username and password when I start Git up.
...
0
votes
1answer
1k views
fatal: pathspec for removing folder in git
I want to remove a folder from a Git repository but I get an error.
I tried several commands, and here you can see my errors:
selnaz:iOS Lnaz$ ls
iOS-Tidinfo mockup readme.txt
selnaz:iOS Lnaz$ ...
0
votes
2answers
137 views
push comment in Git [closed]
I'm in branch master and I want to push my commit but I got this error
git pushfatal: No configured push destination.
Either specify the URL from the command-line or configure a remote repository ...
0
votes
1answer
102 views
git unable add device file?
is git unable to commit a device file? Under Linux system.
For example:
git clone blah@blah.com:/blah.git
cd blah
sudo cp -af /dev/ttyS0 .
git add .
git commit
git msg:
# On branch master
...
2
votes
1answer
479 views
git: command not found
Using github for the first time. In terminal I receive this error
git: command not found
If I type in terminal
which git
it returns nothing. If I type
which github
it returns ...
1
vote
1answer
48 views
Using Git, How do I see a file at a specific revision?
Using git, how do I see a file at a specific revision without checking it out?
I've asked this question a thousand times and can never remember the obscure way git goes about it.
0
votes
1answer
159 views
Why doesn't git-svn respect my $PATH?
I have installed git and svn with homebrew on my mac running 10.7.4. There are two versions of svn on my machine and I have set up my path to check for homebrew things first. Unfortunately git is ...
1
vote
2answers
142 views
GIT Process: Could anyone please explain the check in/check out process?
I've used tortoise SVN for a few years but now moving into using Git. Could anyone explain what the process is for doing the following in Git:
Get latest, Check in
I have managed to clone the ...
2
votes
1answer
236 views
git alias for merging current branch with master
I'm trying to create a git alias that merges the currently checked out branch into the master branch. Specifically I'd want to quickly get my master branch get up to speed with what I'm working on. ...
4
votes
3answers
1k views
Sync a forked repo with original using the Github for Mac GUI client and/or the Web interface?
I want to sync a repo I forked on Github with the original.
Is there any way I can do that using only the Github for Mac client and/or the Web interface?
If not, is there a GUI client (for Mac OS X) ...
2
votes
2answers
1k views
upgraded local git on Lion, now what?
I reformatted my machine with Lion which had this default version of git:
$ git --version
git version 1.7.7.5 (Apple Git-26)
I decided to upgrade git so I did:
$ brew install git
==> ...
1
vote
1answer
388 views
Install Git on a Media Temple (dv) 4.0 server
I'm trying to install Git on my Media Temple (dv) 4.0 server.
I've followed these instructions. It seems to have "installed", as there are a boat-load of files in the /root/git-2012-06-06 directory.
...
1
vote
1answer
271 views
-bash Mac OS X Lion “puts” returns “command not found”
I'm trying to follow along with this tutorial and the puts command returns command not found and I am not sure why. I've followed this article and looked in the various folders and do not see a puts ...
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 ...
1
vote
1answer
119 views
git/gitolite: big git repo with several mini projects
I'm pretty new to the whole version control thing, and even more so with git. I recently installed git on my computer(s) and set it up on a NAS server.
However, I have several client folders with ...
1
vote
1answer
583 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 ...