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.

learn more… | top users | synonyms

0
votes
0answers
47 views

Git for Windows - where is default commit message template stored?

When I run Git with this command line: git commit -a I get an initial commit message like this: # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and ...
0
votes
0answers
74 views

Jenkins User Credentials Not Showing In Project

So I have Jenkins-CI running with the Credentials, Credentials Binding, and Git plugins, and first what I did in order to authenticate Git with the remote repository, is I added credentials to the ...
2
votes
0answers
224 views

HTTP server doesn't seem to support byte ranges. Cannot resume. homestead up

When I used the command "homestead up" it stopped working at 45% so I closed it and restarted my computer. Now when I try to run the command homestead up, my computer says resuming download then I get ...
0
votes
0answers
14 views

File permissions resetting with git pull

On Linux, whenever I perform a git pull on a directory, all of the files lose their permissions that I have set for them. How do I keep this from happening?
0
votes
0answers
18 views

Linux computer gerrit connection problems

I have searched and searched and can't find a related answer. Ok, here is my problem. I'm running Xubuntu 15.04. Have been building android for several month. Recently got into using gerrit to ...
0
votes
0answers
18 views

git merge only unconflicting commits

The idea is to merge branch B into branch A, but only merging commits which would not conflict in the process (of course this might make other commits 'become conflicting' too as they depend on a ...
0
votes
0answers
74 views

Vagrant VM is starting but ansible doesnt process anything

I have such Vagrantfile: # -*- mode: ruby -*- # vi: set ft=ruby : VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = "ubuntu/trusty64" ...
0
votes
1answer
81 views

Delivering a payload to a URL, using cURL

I need help figuring out the cURL request required to send the following data to a URL. {"requestid":"555555", "partnermatchid":"10000-000-0000-0000-000", ...
0
votes
0answers
110 views

Nginx and git-http-backend - 405 error

I'm trying to configure git-http-backend over nginx, but without success. My configuration is: mkdir -p /var/git/repo1 cd /var/git/repo1 git init --bare git update-server-info chown -R nginx:nginx ...
-2
votes
2answers
35 views

How to backup and recover homebrew and all formulas after complete reinstallation of OSX?

I've just started to learn git and wondering if there is a good way to use git for recovering homebrew and all formulas after the complete reinsallation (instead of installing homebrew and all ...
1
vote
0answers
20 views

How do I pull changed file names from a git commit and put them as variables in an ftp upload command

I need to ftp files on a regular basis, even though I still use git to update a code base. So, the workflow is I do my git work and then use Cyberduck to connect and ftp the same files to basically a ...
0
votes
2answers
55 views

Setting up a ssh key connection for git between Windows and Ubuntu server

I am trying to set up a workflow where I do not need to enter the password for my server account every time I want to push to it. I am setting up a deploying system where the server is a Ubuntu ...
0
votes
1answer
13 views

undocumented gitweb output: trailing m in tree listing

I have a git repository where apparently everything is well (I don't matter piwik listed files): # git status On branch master Changes not staged for commit: (use "git add <file>..." to ...
0
votes
1answer
50 views

How to convert a string to lower case using bash 3.1 available in gitExtension

I'm writing a pre-rebase hook for Git using bash script and I need to convert a string to lowerCase or UperCase. I tried some methods doumented in Bash reference example: myString="AbcDFmk"; echo ...
0
votes
3answers
193 views

Attempting to update Git on Mac OS X and uninstall of old Git fails

I am trying to update git on my Mac OS X 10.8.5 (Mountain Lion). I downloaded this new version from this link, double-clicked on the .dmg and then dragged uninstall.sh into my terminal (following the ...
1
vote
1answer
25 views

When I run a git hook in a repo on a network share: which binaries are used?

See title. My repo is located on a network share. When I push new revs there, a post-udpate hook is run. The hook needs Perl and runs nicely. But which perl.exe is used here? The one on my machine? ...
0
votes
1answer
18 views

Is there any HandShake mechanism for GIT:// protocol?

Is there any HandShake(the connection open) mechanism when using GIT:// protocol? Just like SSh, HTTPS and... Thanks in advance.
0
votes
0answers
66 views

redmine The entry or revision was not found in the repository

I had redmine 2.x running perfectly. However I wanted to use some 3.x plugins so installed redmine 3.x next to it with the same configuration. All is working fine except for the repositories. I am ...
7
votes
1answer
962 views

What does the filesystem cache do in Windows 7?

The Diagnosing why Git is so slow article has this interesting item in it: Enable the filesystem cache Windows' filesystem layer is inherently different from Linux' (for which Git's ...
0
votes
1answer
31 views

Removing a file in a branch in git implies removing it from the master branch as well?

I just faced a situation that seems illogical to me with Git. I have a repo with a plenty of commits, so at this stage it has only one branch (master). Suppose this branch has a file called ...
0
votes
1answer
156 views

Uninstall git on linux, fedora

I installed git using sudo yum install git I believe git is corrupted in some manner, when I try to clone a repository from github it asks for my bitbucket password and the clone isn't a clone. I ...
3
votes
2answers
102 views

Accidentally worked on wrong branch in Git

I did some work on the wrong branch; I forgot to check out the right branch. Is it possible to change to the other branch and commit my changes there?
1
vote
1answer
122 views

Broken cygwin's git command

Seems that my git under Cygwin is broken, following commands /usr/bin/git.exe --version or /usr/bin/git.exe does not do anything. If I issue git.exe in particular directory from Windows terminal I get ...
0
votes
1answer
46 views

In Git Bash for windows, how to bookmark ssh hosts

I sometimes use the git bash terminal that comes with the Github app for windows to ssh into my webservers. This is easily accomplished by running ssh user@myhost and entering the password. In ...
0
votes
2answers
50 views

How to keep a Git repository always updated locally?

I use Git Tower to manage my Git repositories on OS X, so I'm looking for an answer which let me use that software or simply the Git cli. I have some Git (private GitHub) repositories cloned locally, ...
2
votes
1answer
80 views

How do I undo an ssh-add on a forwarded identity to access github?

I'm currently trying to access GitHub to clone a repository with SSH. However, when I enter the url to clone, the server hangs after Initialized empty Git repository in /export/home/nathan/myrepo, ...
0
votes
1answer
350 views

Really slow Git clone command

I tried to clone using the following command: git clone http://github.com/WinPack/boulder.git and it had speeds of 10KB/s!!!!! Why is this? How can I correct that? I should have 100 times more speed ...
1
vote
0answers
38 views

Disable read-only flag on git object and pack files

In all my local git repos all of the object and pack files (.git\object\pack) are read-only... I understand why this is but it's really messing with my attempt to sync my machine to my Synology NAS. ...
2
votes
1answer
229 views

ssh-agent running with i3wm keeps promting for password at each git push

I have installed Debian testing with i3wm, using SDDM (Simple Desktop Display Manager) to start it. In the i3 workspace, I could find the ssh-agent process already started. However, I still am being ...
0
votes
1answer
18 views

Git related regarding commits in branches

I have a quick question regarding git commits and branches. Say that I want to get two commit idn based on two dates. I do the bellow on the "Master Branch". git rev-list --since='2015-01-01' ...
1
vote
1answer
35 views

Git not pushing changes to github after pushing changes from another PC

I have the following setup concerning Git: A small server running Arch Linux and the default Git client. I have this setup to automatically make changes to certain files and then push those changes ...
0
votes
0answers
11 views

Pulling updates for multiple layers of Git submodules

I am creating a several layers of Git submodules. An example is the following: Git_repo submodule subsubmodule subsubsubmodule ... I would like to be able to pull updates from ...
3
votes
1answer
728 views

Download installer for old version of Git

I need to install Git on an isolated computer which is not connected to the internet. This computer is extremely controlled, with all installations requiring approval and admin privileges (not me). ...
1
vote
1answer
69 views

Bash not working any more?

I was trying to install home brew (I am new to the command line and was following some tutorials on how to get up and running with github). So I was following this Unofficial Update Method: Compile ...
-1
votes
1answer
75 views

/bin/bash is gone?

I typed the following command, and now bash isn't working. $ sudo chmod a-x /bin/bash_old /bin/sh_old It just says: login: /bin/bash: No such file or directory.
1
vote
0answers
154 views

Jenkins not able to poll Git repository

I'm setting up Jenkins on a Tomcat 7.0 in a Windows machine and I'm having some trouble trying to retrieve the content of a Git repository on a Unix machine. When I input the repository url, I get ...
0
votes
1answer
19 views

How can I get Git to ignore/drop files I have deleted or that are only file-system artifacts (ending in ~)?

I would like my git repository to show only files that currently exist in the directory. In particular, I just pushed my git project to a remote repository on github.com, and now it's showing all ...
0
votes
1answer
160 views

How to enable arrow keys on vim used from msysgit bash

I just need a simple solution that will enable the arrow keys in the vim included with Git For Windows. I did found a solution to enable backspace. But no solution for the arrows problem. The arrows ...
1
vote
0answers
215 views

Github Desktop has stopped working (after updating to windows 10)

After updating to windows 10: Everytime i run Github Desktop the error "Github has stopped working" pops up. Microsoft Visual Studio debug retrieves this message: "System.IO.FileLoadException was ...
0
votes
0answers
19 views

Get list of who written more code on a specific git branch?

I'm working on a big project with a lot of team members, and we are rewriting most of the code inside a new branch. I'd like to know who are the top committers, or better, who have written more code, ...
0
votes
2answers
28 views

Git branching then deleting code from master

We have been working on a codebase with one git [master] branch. We have got to a point now where we actually need to branch it for one feature and remove that feature from the master branch. So we ...
3
votes
1answer
245 views

How to use git to commit read-only file?

I create a read-only file (file permission 444). When I use git add and git commit, I got a message as below: [master (root-commit) 5b1336e] initial commit 1 file changed, 0 insertions(+), 0 ...
1
vote
0answers
173 views

How to configure .bashrc for git-for-windows?

I used Git Bash for Windows with Version 1.9.5 on my Windows 7 (64bit). I added a .bashrc and a .gitconfig in my %USERPROFILE% folder (C:\Users\<USERNAME>\). Everything worked fine. Now i ...
1
vote
0answers
44 views

How to checkout a remote git branch, on the remote machine?

I keep a simple set of Pandoc-generated HTML files on a server, and I have decided to use git for version control. I never edit files directly on the server, so I keep a branch checked out there on ...
1
vote
1answer
12 views

Building a git repository from a set of manual archives

I am dealing with an application that has been created without a proper content management system. Instead, the source files have been saved into a ZIP archive and backed up every time a new version ...
0
votes
1answer
52 views

how to make alias ssh-add /bin/bash in bashrc?

how does not this work? alias push-bb="ssh-agent /bin/bash && ssh-add ~/.ssh/bitbucker_rsa && git push" I assume it cancels at /bin/bash part?
0
votes
0answers
20 views

Introducing clang-format which a lot of git branches

A project I work on has no style guideline so far and could therefore benefit from introducing clang-format. The problem are many long-running branches which have diverged quite a bit from the ...
0
votes
0answers
59 views

Can I configure Jenkins to only deploy push builds?

I'm trying to set up a simple Jenkins server to do two things: Automatically build and deploy all pushes to the master branch of a Git repo Automatically build but not depoly all merge requests in a ...
0
votes
0answers
108 views

File is corrupted when pusing to Git repo on BitBucket

This has happened twice. The first time to 4 or 5 files. The second time to just one, but I was only pushing one at the time. I am using Visual Studio 2013 to edit PowerShell scripts. I don't know if ...
0
votes
0answers
29 views

Vundle directory automatically copied to dotfiles directory with weird permissions

I just installed mathiasbynens dotfiles (only the bootstrap scripts, not os x default, not that it matters). The bootstrap script copies all the files to ~ folder (not symlink, copy). Anyways, I have ...