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

1
vote
1answer
84 views

git clone replicates submodules, but they are not repos anymore

I have a project I want to clone: $ git clone repo1 repo2 Everything copies over. Then I initiate submodules: $ git submodule update --init --recursive It downloads and populates the folders ...
1
vote
1answer
1k views

Git on Windows 8: “git-pull is broken?” error

When I run 'git pull' from TortoiseGit on my Windows 8 machine, I get the following error: fatal: 'pull' appears to be a git command, but we were not able to execute it. Maybe git-pull is broken? I ...
1
vote
1answer
501 views

Gitorious can not connect to Active Directory (authentication.yml)

I have set up Gitorious. With the local database, everything worked fine. All my log and configurationfiles are included. The problem is when I want to visit gitorious.localdomain when I have ...
1
vote
1answer
937 views

Removing commited versions from git history

I want to permanently delete an old revision (or revisions) of single file from Git. Specifically, I want to delete from my public git server repo my initial published version of one single file, ...
1
vote
1answer
47 views

Git find line# of change

I want to find when the last time a specific css property was removed in source on my current branch (master). I wrote: git log -Smystring --source It gave me a hash. I fired up gitk and pasted the ...
1
vote
1answer
789 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 ...
1
vote
1answer
134 views

Why is a branch not displayed in Msysgit?

I have a branch called "develop" in my repository (as confirmed by git branch -a). However, I do not see it in the history view of Msysgit. Is there something special about this branch that causes ...
1
vote
1answer
604 views

Can I recover history for a SVN repo from a local git-svn repo?

Our development team is currently using SVN to manage our web application development. The developer managing the SVN server is trying to migrate it from an older Win XP server to another server, but ...
1
vote
1answer
221 views

Good idea to split my personal git repo up?

I have many files in my home directory under git version control. My emacs setup, zsh source files, PhD thesis, etc. It's all in one huge git repo at the root of the home directory. (Of course the ...
1
vote
1answer
202 views

Running git on shared host

I have a non-sudo account on a shared host. I want to be able to run the git-core for version control. I have another server that I am using for the git-repo. How can I install a version of git ...
1
vote
1answer
364 views

Problem using Git and CVS

I'm trying to use Git at work on Windows using msysgit (though Cygwin), but we are stuck with a central CVS repository. So what I have done is made my CVS working folder a Git repository as well. So ...
1
vote
1answer
337 views

Running git-svn with cron results in garbage in .git

I've setup a git-svn repo with cron to fetch from the svn repo daily. I have a script to do the fetching, and this is what is invoked by cron. Everything is fine with the repo, and the script works ...
0
votes
1answer
9 views

Vim plugin manual installation guide

I recently installed my very first linux distro (arch linux) and at the moment I'm trying to set up Vim plugins. I'm a total noob and I can't manage to find a step by step detailed guide on how to ...
0
votes
1answer
24 views

share svn and git repo's between windows and linux

I dual boot my machine (Windows 7 and Ubuntu 16.04). If I were to assign a separate partition just to hold my software repositories, what's the best partition type to share the same git and svn ...
0
votes
1answer
17 views

Undo 'git push -f' from machine that doesn't have the cloned history

So, backstory. My hard drive died on machine A. Almost all of my work was already pushed to GitHub and all was dandy on that front, save one repository. So, upon realizing this, I found out, "hey, ...
0
votes
1answer
10 views

Rebasing in Git (Fetch and then..?)

I have been working locally on a new computer to which I transferred all data from my old computer via external drive. I decided to try to rebase my work with what I have already on my server. First ...
0
votes
1answer
12 views

cloned repo with same name as a local folder and it deleted everything inside

Hi there I cloned a repo with the name COMP to documents in my mac with and I forgot there was a folder called COMP there also. I didn't read the warning properly and now all the things that were ...
0
votes
1answer
14 views

How can I get a Git repo to push/pull when the Git server is behind a firewall?

My work place currently has a gitlab server behind their corporate firewall and currently their public dev sites are facing the internet. I can access the gitlab server only when I'm on their vpn. I ...
0
votes
1answer
32 views

how to integrate redmine with git, to close issues?

I had install Bitnami Redmine on my Windows 7 I want to close the issue when I make a commit. it should update the issue status in redmine.
0
votes
1answer
75 views

How to remove all the apt-get packages and updates since installation in Ubuntu 14.04?

Iam working on a new project and i some what messed things up in the operating system and i unnecessarily installed and updates some packages.So i cant figure out which packages i installed,so i have ...
0
votes
1answer
54 views

Can not find .gitconfig in user directory

I opened the CMD and go to my user folder. Inside is the .gitconfig file. When I do git config --global http.proxy http://127.0.0.1:3128 it says that the file/folder .gitconfig is not found! Why ...
0
votes
1answer
76 views

How can I add git.exe to Visual Studios command line path?

I've just set up a new computer. When I installed Visual Studio I didn't install Git because I don't want to use it from within VS. Instead I installed Git for Windows. However, a script we use to ...
0
votes
1answer
35 views

ssh authentication works, but git doesn't

I am using cygwin on Windows 10. When using ssh user@server.com ssh correctly loads my id_rsa, asks me for the passphrase and then authenticates me on the server. However, when I try to git push ssh:...
0
votes
1answer
65 views

Git GUI on Windows not seeing .git folder from Samba share

THE SCENARIO I am using Vagrant,Windows environment and running Ubuntu inside the virtual box for my development work. I have setup an instance of Samba server and I run the I access the virtual ...
0
votes
1answer
38 views

Launch ConEmu with Git Bash as default, when running cmd.exe

Somehow I wasn't logged in to my account, so I have to repost my question. Sorry about that. What I currently have: When I open ConEmu.exe, it opens Git Bash When I run cmd.exe, it runs ConEmu but ...
0
votes
1answer
523 views

OSX 10.11 Bad SSH2 KexAlgorithms '+diffie-hellman-group1-sha1'

I have updated my /etc/ssh/sshd_config file based on the answers provided here - OSX 10.11 enable ssh diffie-hellman-group1-sha1 http://stackoverflow.com/questions/26424621/algorithm-negotiation-fail-...
0
votes
1answer
194 views

Using windows Git Bash in MobaXterm

I have custom macros etc in my mobaxterm, but I have worked for a half a year on a remote linux machines, now I have my code on my local PC and I use git bash. Can I use it through MobaXterm?
0
votes
1answer
22 views

Basic setup guidance needed

I set a CentOS to run our company website using Apache. Apache runs as user apache. Now, to update our website code using git, I set a user say sumit, and create a shell script that does git pull (I ...
0
votes
1answer
66 views

Bonobo git server: How to do an incremental backup of all repos

We have Bonobo git server running on Windows server and have to copy all repos to another Windows server, so we can restore Bonobo git server even after our office has been burnt to the ground. We ...
0
votes
1answer
58 views

How to emulate a private IP address for local Apache webserver?

I am working on two seperate computers (office PC and home laptop) on the same project. It's a WordPress website. I use Git and Bitbucket for version control and remote branching. On both machines, I'...
0
votes
1answer
170 views

GIT warning: unsupported ssl version tlsv1.2: using default

I am trying to clone a git repository and receiving the following warning and error message: Cloning into 'projectname'... warning: unsupported ssl version tlsv1.2: using default * Couldn't find host ...
0
votes
1answer
24 views

linux/fedora ssh permissions through vpn ssh session

I'm not sure if I've worded the title correctly here but feel free to suggest/edit upon reading my question... So basically, the company that I work for have their own local git repository which ...
0
votes
1answer
13 views

Pulling commits up to a point into master

so I have a GitHub repo setup and I have been working on a GUI in a seperate branch. I want to be able to pull commits up until a point (eg. project created) into master. I know you can use git-cherry-...
0
votes
1answer
58 views

git diff --no-index but with multiple files

I really like git diff's output format, and I use it a lot as git diff --no-index to compare arbitrary non-git-related files. But as far as I can tell when using --no-index you can provide only a ...
0
votes
1answer
78 views

Running Kallithea in Docker on Synology Server

I am attempting to set up a git server with https://kallithea-scm.org/ in a docker image. The installation went through fine. I started the kallithea server and the terminal says, serving on http://...
0
votes
1answer
56 views

How can I make a set of commits the children of another commit in git?

I have a repo I inherited, it was created by downloading a zip of code from github not cloned, and almost all changes were made before the first commit. I found which commit it was created at (I ...
0
votes
1answer
355 views

js, and css not appearing after installing gitlab

I have gitlab installed on port 8088 on top of an existing apache on CentOS 6.5 and I used this tutorial https://about.gitlab.com/downloads/#centos6 Because I also use apache on this server, I ...
0
votes
1answer
55 views

Trying to get git's core.pager to work on both mingw and cygwin

I am trying to get git for Windows working identically in the mingw bash that comes with git for Windows and in my cygwin terminal. Right now, I cannot get the core.pager (which determines whether a ...
0
votes
1answer
107 views

How to log sessions with ssh.exe, similar to how PuTTY does full session logging

I have installed Git for Windows and I use the built-in SSH client (OpenSSH 6.6.1p1) in ConEmu for tabbed SSH sessions. It works very well, but I would like to have full session logging, like what is ...
0
votes
1answer
111 views

Install Drywall Authentication

C:\Users\zach\drywall>npm install > bcrypt@0.8.5 install C:\Users\zach\drywall\node_modules\bcrypt > node-gyp rebuild C:\Users\zach\drywall\node_modules\bcrypt>if not defined ...
0
votes
1answer
115 views

Groups and subgroups of multiple git repositories?

Currently, I have a few SVN Repositories, and it looks like this: Customer1 (this is a proper "SVN Repository") project1 foo82 trunk tags branches ...
0
votes
1answer
125 views

Errors installing Drywall

I am trying to install drywall and I am getting many errors C:\Users\zach\Desktop\Node.js\drywall\node_modules\bcrypt>if not defined npm_con fig_node_gyp (node "C:\Program Files\nodejs\...
0
votes
1answer
36 views

How to find GIT on a Macbook Pro 5 ver 10.6.8

I have downloaded and installed GIT on my Macbook, but I cannot find it in order to run it. (I am complete beginner with GIT and am using it for an assignment). I have gone to the terminal and typed "...
0
votes
1answer
145 views

Tuleap git plugin

I just installed Tuleap version 8.7.99.12. on CentOS 6.7. My git version on CentOS is 1.7.12.4. In Tuleap Admin panel I installed Git Plugin 4.89 and enabled it! In my project admin section I choose ...
0
votes
1answer
32 views

Which risks after a chown on /usr/local/

First of all sorry for my english I'm french. I was trying to install rvm on OS X El Capitan, and an error stopped the installation, said me to check that brew update run correctly and surprise, it ...
0
votes
1answer
36 views

Using multiple ssh keys with Github, with one being default

I want to configure my SSH client to work with different keys when pushing to GitHub, with one key being the "default". I thought that putting this into .ssh/config will give me what I need: Host ...
0
votes
1answer
130 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", "usercontext":{"ipaddressmasked":"XXX.XXX....
0
votes
1answer
98 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
1answer
250 views

How do I make Git Shell open Bash instead of PowerShell?

I have GitHub for Windows installed. In the options, I have selected Git Bash instead of PowerShell, and when I click on "Open in Git Shell" from within GitHub for Windows, it correctly opens Git Bash....
0
votes
1answer
44 views

Show Git author in comments while writing commit message

When I run git commit, my favourite editor starts and presents me with something like this: # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty ...