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
75 views

git gui cannot handle non-ascii character in .gitconfig?

I just encountered a problem: The git-gui will spill an error when I have non-ascii symbols in the .gitconfig. For example, if I have an entry: recentrepo = /home/<username>/∞ π ∅ Then it ...
0
votes
0answers
7 views

GIT GUI locking access to launching folder

In recent versions of GIT GUI (obtained from http://git-scm.com/download/win ), whenever I open it from the desktop, the folder from which I opened it is made inaccessible. I can still access the same ...
1
vote
2answers
557 views

How to commit files modified by pre-commit hook in Git

Im struggling for a couple of hours to make git store metadata (permissions/flags/etc) of the files using metastore and I use hooks/pre-commit for this. The script is invoked correctly, and the file ...
0
votes
1answer
18 views

Github email questions

I am running Fedora 20 which gives me the option to set up Evolution. I do not want to but I still want github to put my real email address on my commits. How do I do this, or will github do this once ...
2
votes
3answers
53 views

Version control (hg): can one directory be “synced” with different repositories?

I have a directory for my work files which is under version control (Mercurial): ~/myfiles In a subpath, I have a directory with Emacs packages for my org-mode setup: ~/myfiles/org-mode As I said, ...
0
votes
1answer
73 views

Git commit two project code as single project in the repository

I am new on git open source. Actually I have one android project i.e AllScan, SO I commit all the code in original master repository when I made the changes into the code. Now I have implemented new ...
1
vote
1answer
42 views

Some Git questions

I'm starting to learn GitHub, and I have a few questions: How do I remotely remove files from my GitHub repo but keep them on my local machine? How do I upload ONLY .c files when my directory also ...
0
votes
1answer
402 views

How to show particular 'dot' or hidden files on OS X

Is there a way to configure OSX to always show particular dot files? I'm familiar with the commands to toggle between showing and hiding hidden files. Show Hidden Files: defaults write ...
2
votes
1answer
168 views

Understanding implications of sudo -u -H

I'm trying to install gitlab from this guide on Ubuntu 14.04 Server. It is also worth mentioning that I'm behind a http proxy. I'm having problems with this line in particular: sudo -u git -H git ...
0
votes
3answers
45 views

Installed GIT for Mac, but cannot locate file

I'm a new MAC user running OS X Mavricks and I am trying to get git up and running on my MAC. I successfully downloaded the program from the website and ran it. However I can not find it installed ...
0
votes
0answers
190 views

Change HOMEDRIVE windows variable to be dynamic on windows 7 to use Git

I have a Windows 7 notebook from work. I use Git as my version control system. I installed Git on the system before the administrator connected my computer to the office network. he changed my ...
0
votes
1answer
94 views

Using shared git working area on multiple hosts

I'm transitioning my personal projects from using subversion (svn) to GIT. In subversion, I've used a shared SVN working directory on several hosts (despite people telling me it wouldn't work), and ...
0
votes
0answers
1k views

Can't git push to Bitbucket.org — with ssh keys

I'm running doku-wiki on may (Ubuntu) laptop for some note taking. So, to keep backup, I was using Bitbucket and periodically pushed my wiki files there and everything worked smoothly. (a) Some time ...
0
votes
0answers
49 views

What is the correct root file to import to aptana from an xampp folder/existing web app or git repository?

Very noob question - all of this is new to me - not really sure how to get started. Overview: I'm taking over an existing wep project that has been developed in aptana and deployed in xampp setup - ...
0
votes
1answer
472 views

GitHub configuration terminal says “no such file or directory”

I'm following the tutorial to configure GitHub but my mac terminal says that I have no such file or directory. iMac-di-:~ user$ git credential-osxkeychain Usage: git credential-osxkeychain ...
0
votes
0answers
41 views

Use server git installation in GitHub for Windows

We are using Git as the version control for our website development. I work from a laptop, which is connected to the internal network via a WiFi connection. I've mapped the server drives as network ...
0
votes
1answer
726 views

Getting .net error while installing Github

Github Installation failed with the below error. Component Microsoft .NET Framework 4 (x86 and x64) has failed to install with the following error message: "A failure occurred attempting to install ...
0
votes
2answers
110 views

git push/pull keeps on trying to produce GUI window

Every time I try to do git push or pull on one of our work server I get a "Error: Can't open display:" warning, unless I login with -X forwarding, in which case some ugly 90s looking window pops up ...
0
votes
0answers
241 views

GitHub project uploading error: error, failed to publish this branch

I am new to GitHub and until today I have used the Online file creater for GitHub. Now that I want to use the Windows GitHub version. I am not able to understand why it isn't working. I have created ...
0
votes
1answer
569 views

Bitbucket ssh Read from socket failed: Connection reset by peer

I'm using ssh to access git repository on bitbucket.org. Suddenly I can no longer connect to it. Haven't installed anything or did any changes to the settings. $ ssh -v git@bitbucket.org ...
1
vote
1answer
372 views

How to create a user to for Jenkins to execute command as a root user?

When I create a Jenkins job with Git to manage the source code, I enter a local repository URL, it failed: Failed to connect to repository: Command"git ls-remote -h /myRepositoryPath HEAD" returned ...
1
vote
1answer
2k views

Is there a way to edit a commit message in github?

Is there a way to edit a commit message after committing and pushing to github? I see that there is a 'add a note' as well as inline commenting, but no actual editing of a commit message. There is ...
0
votes
0answers
147 views

Build a jenkins project with Git to manage source code fail with “no developer tools were found at 'Applications/Xcode.app'”

I have installed XCode4.6.2 in Mac, and start up a Jenkins site as "localhost:8080", when I create a job named "My First TDD Project" with free-style software project, I choose "Git" for source code ...
0
votes
0answers
37 views

disable direct access to git repo

I have set up a local git repo on a linux machine and have users check in and check out from it: /myfolder/gitrepo/ How can I disable any modification access to that folder directly unless they ...
2
votes
2answers
1k views

Visual Studio - Using GIT and SVN

Work uses SVN. I want to use GIT for private use. I was also exploring TFS, but it doesn't seem to cooperate with multiple collections, so I stopped looking into it. Currently I use AnkhSVN. I want ...
1
vote
1answer
218 views

Unable to clone Git repository using Visual Studio Online

I'm trying to clone WinJS to my Azure Web Site using Visual Studio Online "Monaco". When I type git clone https://github.com/winjs/winjs.git in the online console I get the error Can only clone a git ...
0
votes
0answers
11 views

Delete old files from git repo [duplicate]

is there a possibility to remove old files and folders from the complete GIT repository (also in all commits)? I´m using GIT 1.9 and Gitlab 6.8.
0
votes
0answers
21 views

Cannot add contents of a directory to git

I have a directory A which is monitored by Git. In this directory, I have another directory B which is not empty. However, Git does not add the contents of this directory. When I push the repository ...
1
vote
2answers
2k views

How to delete origin/master in Git

I cannot remove origin/master from my server. No idea why. The error message is the following remote: error: By default, deleting the current branch is denied, because the next remote: error: ...
2
votes
1answer
133 views

GIT via OpenSSH in Powershell is fine, so why can't I connect in plain cmd console?

when I run ssh user@servername01 ...under powershell it connects without a problem, however when I run the same command under a standard cmd prompt I am prompted for a password (no password is set ...
0
votes
1answer
34 views

How to pull from remote 'A' to remote 'B' in Git

I have 2 remote branches: origin/master and origin/my_123 - my_123 was branched off of master at some point but is now behind. I'd like to pull from master into my_123 so that my_123 is in sync with ...
0
votes
0answers
156 views

Git/Bitbucket key management

I am new to devops or anything that is connected with managing multiple machines so I may be asking some newbie question. For one of the projects on my university I now have access to some instances ...
0
votes
1answer
2k views

Github for Windows 7: Missing libeay32.dll

I'm new to using git and github.com. Via an ubuntu machine, I've created a repository on github.com, and I've committed to this already. Now, I'd like to use the code on my Windows 7 machine as well. ...
1
vote
0answers
430 views

Disabling TLS protocols for https:// URLs in git

Since my update to Ubuntu 14.04, I cannot connect to the companies git server. It uses https with the SSL protocols only. When running git clone (or any other git command that connects to the server) ...
5
votes
3answers
2k views

How to execute commands as root in git post-receive hook

I just recently set up a remote git repo on a server for a web app running as an Upstart service. I'd like to use the post-receive hook to trigger actions that are required to update the application ...
0
votes
1answer
23 views

How can I create pushable remote Mercurial repos that works over SSH?

I have been using git for a while and I use git and ssh. I have couple bare repos on my server which I use to pull and push on multiple computers. Now I want to try Mercurial for some of my projects ...
1
vote
1answer
152 views

Color in bash prompt messes up git output

I changed my .bashrc to include export PS1="\033[1;33m\u@\h: \w>\033[0m" so that my shell prompt would be colored, but it seems the \033 messes up git output (log and diff, at least). I see ...
9
votes
2answers
2k views

I need sudo without password prompt, for scripts. Where did I go wrong?

I am in sudo group all right: $ id uid=1002(molot) gid=1002(molot) groups=1002(molot),27(sudo),33(www-data) In my sudores I seem to have appropriate setting: sudo ALL=(ALL:ALL) NOPASSWD: ALL ...
1
vote
1answer
76 views

changing apache root directory prevents me from accessing .git/config

I copied over a php folder from computer to another and hooked it up to apache.. however apache would return page forbidden.. after doing some research it turned out it was a matter of giving apache ...
3
votes
3answers
3k views

How to assess why git clone/fetch could be so slow?

I have git installed on Ubuntu Server 12.0.4 and work in tandem with gitlab. Ubuntu itself is a virtual machine in Hyper-V Server 2012 R2. I'm comparing performance of command git clone ...
0
votes
1answer
180 views

Version Control Foreman / Puppet

I have just setup Foreman for the first time & am not sure how to go about putting all of my configurations under version control. I know I can use Git for each module I install on my Puppet ...
1
vote
2answers
109 views

How best to backup My Documents (maybe with Git?) [closed]

I would like a good process to backup My Documents on my hard drive periodically to an external hard drive or repository. I want to have a snap shot at each backup period, and don't want to waste ...
1
vote
2answers
1k views

Which version of Git to use with Windows

I wish to install Git on Windows 7. There appears to be two versions. I will be using it in conjunction with Tortoise Git. http://msysgit.github.io/ http://git-scm.com/downloads An answer on ...
1
vote
0answers
56 views

Git suddenly started to choke on “git pull” for only one repo

Yesterday, at some point in time, my Git for Windows suddenly started to choke (hang forever) on git pull for only one repo. I managed to pull changes ten times this day, I started to fail on eleventh ...
2
votes
1answer
95 views

Git amend via tig

I often use tig to select which modifications to add, and which to commit. I scroll via the patches, push u to add, and when I am satisfied, I press C to commit the added changes. Every once in a ...
0
votes
1answer
87 views

clone from bitbucket.org in command on guest linux virtual box through proxy in host

I am using an ubuntu virtualbox guest on a windows 8 host. I am going to clone a repo from www.bitbucket.org using git command in guest. BUT the problem: I realzied that I cannot connect to ...
0
votes
0answers
32 views

How to discard all working tree changes except for assume-unchanged files in Git?

I'm looking for a command like git reset --hard except for those assume-unchaged ones. For example: user@host /d/projects/test $ git init Initialized empty Git repository in d:/projects/test/.git/ ...
1
vote
1answer
856 views

How to install Ultisnips with Snippets on Linux?

I'm using Slackware and trying to install and use Ultisnips. I use Pathogen and the documentation says the following: > Using Pathogen: UltiSnips-using-pathogen If you are a pathogen user, ...
-1
votes
1answer
516 views

how to run a shell script on git commit

1) i have a shell script which basically contains some(database testing and integrating test code) , but i have to run this shell script when ever there is commit (or any change ) in my git repo the ...
0
votes
0answers
38 views

Recompiling a python program doesn't produce executable

Today I installed Mathics from their github repository: $ git clone https://github.com/poeschko/Mathics.git $ sudo python setup.py install And then I decided to modify the source a little bit and ...