Git is an open-source DVCS (Distributed Version Control System).

learn more… | top users | synonyms | git jobs

0
votes
1answer
6 views

git add -A vs git add file

I got into the habit of using .gitignore and always doing git add -A, git status to check the modified files, then commit, so I don't need to remember about the files that I have modified and other ...
-1
votes
1answer
27 views

Git: commiting only some changes to master

I'm working on a development branch which differs quite extensively from the master branch. I have a number of changes that I want to commit to master, but I definitely can't merge the branches. How ...
2
votes
0answers
21 views

Fatal: not a git repository - after BSoD

I was committing and then my Windows ( .. :( ) machine crashed and presented me with the lovely and infamous Blue Screen of Death. I rebooted and went right back to work, only to discover that ...
1
vote
0answers
21 views

Very weird tracking of a file using git

using git version 1.8.1.msysgit.1 the file gitusage is somehow weirdly tracked. What may be the reason? I have the file gitusage in git. $ ls gitusage $ git add gitusage $ git status # On branch ...
0
votes
0answers
14 views

Using Dropbox to sync source code, with git

I am a single developer, who uses multiple computers to work on a project. Sometimes it would be nice to just share the project via Dropbox, rather then having someone clone/push/pull. Often times ...
0
votes
0answers
17 views

git pull “ fatal: Uh oh. Your system reports no Git commands at all.”

since few days ago I'm working on a new server (moved from old to new with chroot user) from old server I've copied folder .git to a new server. The problem is that when I type "git pull" then I ...
0
votes
0answers
6 views

Giving a warning when a specific part of a diff contains whitespace only changes

I'm trying to add a lint rule (ArcanistLinter) that would give a warning when some part of a file has whitespace-only changes (say the editor tried to correct bad formatting from upstream). The ...
0
votes
0answers
10 views

git post-receive hook permissions

I did setup a multi-user gitolite environment, but I don't get the post-receive hook working. The problem is that I have to deal with two users on my VPS server. For example, if example.com is my ...
1
vote
1answer
30 views

Check if local git repo is ahead/behind remote

I'm developing a git plug-in, and I need to know when a local repo is changed (can commit changes), ahead (can push to remote) or behind (can pull from remote) using the command line. This is what I ...
0
votes
0answers
13 views

Try to create a Git remote repository in the same Domain but failed

I have two computers in one domain, one is Linux and the other one is windows. I build a remote repo on Linux, which URL is 10.10.10.1/test, I use git init --bare to build this repo and no error ...
1
vote
1answer
16 views

Could not clone remote repository

I have Hudson running in Red Hat Enterprise 5. In Hudson, I use Git to clone remote repository. I get this error when cloning code: Cloning the remote Git repository Cloning repository origin ERROR: ...
0
votes
1answer
15 views

Update a fork with new commits on its master branch?

I forked branch A and created B. Now, A has been updated by others and I'd like to bring those commits over to my B fork, so I can ensure the stuff I've been doing there still works with that new A ...
1
vote
0answers
12 views

Git Rebasing onto generated files (auto solving remove/change conflict by removing)

I work in a company where one team constantly includes generated executable (and bunch of other garbage) with each commit. Due to non-technical reasons, I have to constantly rebase our work on top of ...
1
vote
0answers
20 views

Git deleted one file automatically, when I swiched back to branch

I am working on branch A and have some changes. I had add those changes and stage them with commit command. Then I switch to branch b need to see some code. Then I just switched back to again branch ...
0
votes
0answers
13 views

CruiseControl.NET GIT integration sets invalid branch when doing checkout

I'm using CruiseControl.NET for integration of our build. Our sources are hosted on GIT repository, so we are using Git source control provider. <sourceControlProvider type="git"> ...

1 2 3 4 5 1937
15 30 50 per page