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
1answer
14 views

As an unprivileged user, how can I configure sshd to allow only specified commands to be executed when it's autheticated with a password?

I usually log in to a SSH server (where I'm an unprivileged user) by using my public keys. I also use authentication by a password when I use the server as a git-annex repository. What I want to do ...
0
votes
0answers
6 views

adduser with custom conf file: enable all users in group to read, write and execute

I am trying to enable apache to create new users for git groups, repositories and ssh access. I've managed to get apache to add users, but now apache cannot move, read and write in the home dirs of ...
0
votes
0answers
8 views

How to link a card (tracker Kanban Task) to a git commit?

I wanted to know if there is a possibility to link a commit to a card (tracker Kanban Task). Because I wanted to retrieve the commit which resolved the bug.
0
votes
1answer
20 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
0answers
12 views

ignored files are deleted

I have a live server where i have some config files that i have deleted in my master branch and added to .gitignore. When i now pull from master to live server all config files get deleted. Is there a ...
-3
votes
1answer
20 views

Github Clones: Where Do They Belong? [on hold]

Github Clones: Where Do They Belong? Where should I store all my git clone repositories? Obviously, I can put them anywhere I like; I'm just not sure where is best. Typically, they all just end up in ...
0
votes
0answers
8 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 ...
3
votes
0answers
26 views

Migrating a git repo to AWS CodeCommit

I've followed the steps here and here. When I run the below commands I get: git config --global --edit displays an edit file containing the lines in the setup guide aws configure shows the tail end ...
3
votes
1answer
17 views

How can I cache Yubikey/U2F credentials when authenticating over SSH (specifically Git)?

I've set up my GitHub account to use U2F using Yubikey (all over SSH) but as I also use a Git bash prompt, so every time I use my terminal, I'm prompted to touch my security key. I don't quite ...
0
votes
1answer
23 views

windows ssh doesn't accept passphrase

I've installed git-for-windows and generated a ssh key with PuTTYgen (with passphrase) and stored it in c:/users/username/.ssh/id_rsa. If I try to log in with putty and enter my passphrase and it ...
0
votes
1answer
24 views

Git. How can I add folders and files under version control

I've forked a remote Git repository, so I get it on my PC. I've added two folders and two files but Git doens't recognize commit. I try to launch this command: git commit -m "my message" but my ...
0
votes
0answers
13 views

Parallels VMWare Fusion git repo on host machine slow performance

I started evaluating Parallels and VMWare Fusion to be able to use Visual Studio from my mac. I discovered, however, that both use network shares as a way to share files between Host and Guest OS. I ...
0
votes
0answers
20 views

Will adding SSD to NAS significantly improve Git performance?

I run a QNAP TS-470 Pro with three out of four HD slots equipped with WD Red SATA 6Gb/s 4TB drives. They are in RAID 5. On there, I have a Web volume running Apache. I use this as a development ...
-1
votes
0answers
7 views

How to create better Intellij (Web/PhpStorm) precommit messages

I was wondering about how to create better, readable message dialogs in Web/PhpStorm when I run a precommit job with output. E.g.: In my case there is a linting job with is started before each commit ...
0
votes
0answers
23 views

Downgrade git on Ubuntu 14.04

I want to downgrade git to 2.6.5 with apt-get after accidentally upgrading to 2.7.0. How is it done?
0
votes
0answers
5 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
29 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, ...
0
votes
0answers
21 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 ...
0
votes
0answers
23 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
14 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 ...
0
votes
1answer
24 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) ...
0
votes
0answers
23 views

Git Bash delayed output

I run some program in git bash terminal on windows and redirect output to grep to search for specific keywords. Problem is that the output is delayed, so it looks like the terminal waits for a chunk ...
1
vote
1answer
17 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
29 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 ...
0
votes
1answer
29 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
12 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
9 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
20 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
20 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
16 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 ...
0
votes
1answer
18 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
31 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
1answer
59 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
13 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
22 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
4 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
35 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
34 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
14 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 ...
0
votes
1answer
36 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
32 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
8 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
29 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
26 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
22 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
12 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 ...
0
votes
1answer
15 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
51 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 ...
1
vote
0answers
51 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
0answers
8 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 ...