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

learn more… | top users | synonyms | git jobs

0
votes
0answers
3 views

git subtree push and split adding -n to commit messages

Whenever I split a subdirectory into a branch via git subtree split or (consequently?) when I push a subtree upstream, the commit messages in the new branch/upstream commits have "-n" and a newline ...
0
votes
0answers
6 views

Creating remote repository out of local ones, Pycharm

I may be asking a dumb question, but I have yet to find a solution online. Using Pycharm, I have found how to create a local repository out of a regular project, but how do I then send that to github ...
0
votes
0answers
5 views

Post-merge hook did not run on fetch origin, checkout remote branch

After doing a "git fetch origin" to pull in a remote branch added my a colleague, I did "git checkout . This output: Branch set up to track remote branch from origin. Switched to a new branch "" I ...
1
vote
0answers
8 views

Maintain a patched open source library in Git

Context: I am using Git for an application I am developing. My application uses a specific component from an open source library, that I had to patch for my own needs. This open source library is in ...
0
votes
0answers
6 views

Permissions on phpmyadmin config.inc.php with git aws.push

Problem: Every git aws.push changes permissions on phpMyAdmin/config.inc.php to 666 and needs to be 555 Overview: I have an Amazon AWS elastic beanstalk site with PHP / MySQL. In the site files, I ...
1
vote
0answers
9 views

git filter-branch led to a disconnected history: how to get rid of the old commits?

The scenario is the following: I have a big CVS repository that I want to convert to 14 distinct git repositories. The cvs2git part of the process is fine. For each git repo, the command is : git ...
0
votes
1answer
13 views

Commit untracked files to repository

When using Compass/Sass I usually put the generated style.cssand sprites in my .gitignore file, so they don't clutter up my commits. But now I have the case that I git push to a online system, but my ...
0
votes
1answer
23 views

How to detect current repository type and location?

I am looking to write a simple bash script that I could use to detect the scm repository (git or hg) in which I am currently located (current directory). Mainly the logic is to find first .git or .hg ...
-3
votes
0answers
27 views

Localhost is not working

I was coding in codeigniter and the local host was set for a different. Now after completing my coding I copied total code in that folder where local host was and push via git to the server.Now my ...
1
vote
1answer
10 views

Force just one file as binary in GIT

I need to add a file to a git repository, and I need the correct type of line ending. In perforce, I would just use "-t binary" to force the file to binary, but I don't know how to set the file to ...
1
vote
2answers
29 views

Finding out the source of a git repository

This might sound a weird question, But I want to know how can I find what was the source of some git repository that I have on my system. In fact I have many Linux distributions from various git ...
0
votes
1answer
19 views

How to achieve that my changes in current branch will not spread among all branches?

I am still bit confused with the git, although I used to work with some version control systems before. My question is about branches. My understanding is that when I would like to try to develop some ...
1
vote
3answers
37 views

create 'bare' git repo without cloning it

Pro Git book states that I need to create repo inside existing directory first and then clone it as 'bare'. I've read this article about why use 'bare' repository and it seems that I need to treat it ...
1
vote
1answer
16 views

How do I apply rejected hunks after fixing them?

I'm trying to apply a patch to a file using git apply. The overall patch failed, so I used git apply --reject. Inspecting the generated .rej file showed me what's wrong, now I fixed the problem in ...
0
votes
1answer
18 views

how to merge git .diff file to source code?

I export one diff file, use 'git diff HEAD^ HEAD > a.diff' . So, I wanna use a.diff file patch to another source code. I use command 'patch -p0 < a.diff', but it not works. said, "can't find ...

1 2 3 4 5 1960
15 30 50 per page