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
0answers
42 views

Make gitk with path argument show all files

I am running gitk with a path argument to only show commits that touch a particular file: gitk -- path/to/file However within these commits, in the "patch" view, gitk only shows the changes to the ...
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
0answers
75 views

How to clone repository on Git for Windows — fatal: repository does not exist

I am using Git for Widows, but I can't clone a repository. Am I typing it wrong? This is how I would do it in Linux. Why is it called '' ? J@JDM MINGW64 ~/Documents $ git clone "https://github....
0
votes
0answers
34 views

How can I get latest changes in my Git branch without it appearing like I'm the one committing those changes and still keeping my pull request clean?

In Git, we have a develop branch from which we make feature branches for each feature. I see two ways of merging the latest changes in develop with my feature branch code. Merge the latest develop ...
0
votes
0answers
21 views

Better way to unexclude single folder in .gitignore

I have several files in my home directory under version control. My .gitignore looks like this: #gitignore * !.vimrc !*/ !.vim/* !.gitignore !.xinitrc !.bashrc to include .vim/* I had to include *...
1
vote
1answer
154 views

Is using Git to revision KeePass database file possible?

I'm wondering if it is possible, or indeed a good/bad idea to use Git (or Mercurial) to revision the KeePass database file and share it between my co-workers, for centralized (but distributed) ...
1
vote
1answer
21 views

Start Git-Flow repo from project dir or home dir?

I am using Git Flow and it is not clear from the documents whether I call 'git flow init' from my project root or from my home directory?
0
votes
0answers
239 views

How to configure cygwin git to work behind proxy?

I am using Windows 7 x64. I have installed Git for Windows and cygwin's git. These are the installed versions for Git for Windows: user@machine MINGW64 ~ $ uname -a MINGW64_NT-6.1 machine 2.4.0(0....
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
0answers
38 views

Fail push github with jenkins

I'm struggling to push a commit to my github repository. I just made a fresh new configuration of jenkins in my machine, configured it to download the src of the project from a git server, and now ...
0
votes
0answers
11 views

Make git merge act on paragraphs/blocks instead of lines?

I am using git to manage a "configuration file" consisting of a number of blank-line-delimited configuration blocks of the standard sort like [one] alpha=1 beta=2 Most changes to this file consist ...
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
0answers
30 views

A good guide to keep server configs in GIT and using Ansible

Here the situation: I have multiple server in different environnements:DEV, STAGING, PROD, etc.. Some of the, I want to save all the /etc/*.conf or /etc/httpd/.... * files and so on... As well, I ...
0
votes
0answers
43 views

Which Users SSH key should I put in Owner's SSH Key - Git Plugin in Tuleap?

I have installed Tuleap and I would like to connect it to my GitLab server. I am using the Git plugin provided by Tuleap but I am not sure how to fill in the boxes. There is a section called Owner's ...
-1
votes
1answer
30 views

How to create a “function” for terminal to run

I have about 10 terminal commands that execute syncing with a Git repository and a live-server. How can I boil that down into single command? Is this a use case for scripting? Steps include: ...
0
votes
0answers
35 views

Using Github to Store Files for Retrieval via Local Script

I'm trying to find a solution for contracted users who are not on our domain to be able to automatically pull down files that will overwrite local files on their PC via a batch or vbs script that they ...
-2
votes
2answers
384 views

Setting SSH for windows Permission denied (publickey)

I am following the thread to set up SSH But I get below error on 5th step $ ssh -T git@github.com Warning: Permanently added the RSA host key for IP address 'xxx.xx.xxx.xxx' to the list of known ...
0
votes
0answers
27 views

Git-ssh-server connect to GitLab CE

We have a running Git-ssh-server with 10+ repositories in it. We want to use GitLab as a Project Management Tool and GUI for managing the repositories. From what I understood by reading through the ...
0
votes
0answers
24 views

Host Website Using Github

I followed the process on http://blog.teamtreehouse.com/using-github-pages-to-host-your-website to create a personal website. Hosting service is Github and the domain is from Go daddy. I did Cname ...
0
votes
0answers
10 views

Reset my origin to correct url using 'git set-url origin <url>' but cannot use git reset — hard

But when I try to use the following command: git reset --hard origin/master it points to a different url. (the mystery remains). I answered my question after some thought. I broke it down into ...
1
vote
0answers
39 views

Is there a name for the command line user interface employed by projects like Git?

There are quite a few command line tools (or suites of tools) out there these days which use a command line interface such that every command starts with the name of the application/tool followed by a ...
1
vote
1answer
58 views

Unintended escaping of double quote in Bash

I am trying to add the following Git alias as a command in Git bash (windows user here). yolo = "!git init && git remote add origin $1 && git pull" None of this seem to be working. ...
0
votes
0answers
32 views

git-annex-shell: Not a git-annex or gcrypt repository

I'm trying to setup git-annex repository using this tutorial. On server in /home/user: git init repo.git --bare --shared Then from other machine I try: git clone ssh://user@server:port/~/repo....
0
votes
1answer
115 views

How to use autohotkey to run command line programs?

I'm sitting behind corporate proxy, I need to switch proxies of git frequently when doing development. So I want to use autohotkey to create a script to toggle proxy setting of git. But I can't ...
1
vote
2answers
55 views

Wget Bash Script File Not Found

I have the following script: for i in {1..16}; do $wget http://url/$i.jpg -O C:/Users/User/Desktop/Test/ done Saved the file as test.sh and run it within Git on windows. The files are live on the ...
0
votes
1answer
14 views

Home Network Crashes with Git Push

Whenever I run the command git push origin master...my home network locks up as in ONLY git works (it completes the push). Defining home network locks up: NOTHING else will work on the network ...
0
votes
0answers
70 views

How to arrange for the shell to autocomplete git branch names?

Is there a way to make the shell autocomplete git branch names like it does in linux(mint). While typing, for example, git push -u origin so<tab> in linux, this will give me all the branches ...
0
votes
1answer
92 views

Git describe detached head

I'm trying to migrate from Buildbot to Gitlab CI. Everything works fine, except getting version number from git. We were using git describe --always --tags --abbrev=4 command in conjunction with ...
1
vote
0answers
31 views

My Git was disabled after I installed El Capitan 10.11.1

After I installed El Capitan 10.11.1 my Git was disabled. I ran my MacBook Pro and my MacBook Air in Recovery mode (Command+R) and restarted and without "csrutil disable" or without disabling my SIP ...
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
40 views

Installation issues github program: truecrack

I am trying to install TrueCrack from github: https://github.com/lvaccaro/truecrack . As the description says I do this: cd truecrackDirectory ./configure --enable-cpu make However, when I do the ...
1
vote
0answers
189 views

git on windows 10 - ssh - bad passphrase

So i tried to set up another remote repository on my machine and have to add the ssh-key to the ssh-agent. I checked the passphrase of the key with Puttygen, so i don't have a typo in the phrase. I ...
2
votes
0answers
302 views

Git for windows: fatal: open /dev/null or dup failed: No such file or directory

After some weird bug (it happened a while ago, so I don't know what caused it) this started to happen to me. Every time I try to use git on windows (installed 2.6.2 x64) I get: fatal: open /dev/null ...
0
votes
1answer
14 views

Specify a default action for git add

git add without arguments yields in the following message Nothing specified, nothing added. Maybe you wanted to say 'git add .'? Most of the time I use git add -p. Is there a way to make git ...
0
votes
0answers
216 views

Why do I get this “Could not find /tmp” error from Git (or bash.exe)?

I am using Git to manage our project sources. For the continuous use, I employ a couple of active environments: TortoiseGit, for visual operations and immediate status feedback. Cygwin, through ...
0
votes
1answer
100 views

Not able to install GIT on RHEL 7.1

I am trying to install git on rhel 7.1 using rpm. and i am getting below errors. [root@localhost Desktop]# rpm -ivh git-1.8.3.1-4.el7.x86_64.rpm warning: git-1.8.3.1-4.el7.x86_64.rpm: Header V3 RSA/...
1
vote
1answer
17 views

how to update a git branch to other branch?

I have two branches, master and test. The test branch hasn't been updated for a long time. Now I want the test branch to have the same file with master, without merge, because merge is bringing too ...
1
vote
0answers
29 views

Start Git Bash from users directory

I am running the latest version of git on Windows. When I start Git Bash (Running MINGW32) from my start menu it starts git from my users home directory. When I pin the window to the task bar and then ...
0
votes
1answer
46 views

vim - sync across multiple OSes with dropbox

So I decided to take the plunge into learning vim and moving over from sublime as my main editor. I have a few different machines running different OSes. OSX on my laptop, Linux on my primary machine ...
1
vote
1answer
216 views

Why did the latest update to VS 2015 uninstall Git?

I just updated VS2015 (Dec. 2015), it installed everything OK but as it finished, I saw a message flash up saying it was uninstalling Git. There had been an option to updated the MS Git provider, but ...
1
vote
0answers
33 views

Why does git create iso-8859-1 encoded _BASE files for mergetool if the local and remote files are utf-8 encoded?

When issuing git mergetool after git pull origin master DiffMerge which is set up as merge tool complains that the _BASE file can't be opened with UTF-8 encoding. file -I [path to _BASE file] shows ...
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 ...
1
vote
0answers
24 views

Git push over SSH is not activating remote hooks

I have the following problems that git push over SSH is not activating remote hooks. The server where Git repo is Linux ubuntu. Git version 1.7.9.5 My path to repo hooks /path/test.git/hooks/update; ...
0
votes
0answers
44 views

Overriding alternative to cherry-pick

There is a cherry-pick command in the git which allows me to copy some commit on top of the current. However, it does some conflict resolution, that I do not care about. What is alternative to cherry-...
-1
votes
1answer
108 views

Unable to connect yum repo [duplicate]

When I am running yum install getting following error. root@datanode# yum list CRITICAL:yum.cli:Config Error: Error accessing file for config file:///etc/yum.conf root@datanode# rpm -ev yum ...
1
vote
2answers
129 views

How to make git not prompt for passphrase for ssh key on windows?

I'm using git with stash and I setup ssh key using ssh-keygen and each time I do something with a repo git ask me for passphrase for /c/Users/jankiewj/.ssh/id_rsa. Is there a way to disable that ...
1
vote
0answers
47 views

Git server side hooks commit update file

I am trying to implement git hook commit on a server using these instructions: https://git-scm.com/book/be/v2/Customizing-Git-An-Example-Git-Enforced-Policy I created file "update" (make it ...
2
votes
0answers
95 views

API Workbench doesn't see git

I am using Atom with API Workbench installed on Windows. I go by Packages -> API Workbench -> Get APIs from -> Popular APIs (Community). Atom responds by displaying GIT is required to ...
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
2answers
1k views

https letsencrypt installation on windows with WAMP

Is possible to use letsencrypt with WAMP on a Windows 7? What are the steps of the complete installation process? I installed git for windows, then run a command in the cmd.exe to clone the client ...