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

git hub for version control for an entire directory

Code at bottom I am using a private repo on git hub as a version control between me and partner and I am having some difficulties in my approach. I have wrote a few bash scripts as a way of ...
-1
votes
1answer
18 views

Looking for tech experts with Devops skills [on hold]

I've become an organiser of Devops meetup and I would like to approach tech companies in this area willing to start cooperation with local communities. Any advice where to look for contacts? Thanks
0
votes
1answer
8 views

Bash alias/function to precede every `git diff` with `clear`

Every time I do git diff I'd like my bash to do clear & git diff instead. I tried to tweak an answer at Bash: Spaces in alias name like this: git() { if [[ $@ == "diff" ]]; then ...
0
votes
0answers
12 views

Error Git authentication in WebStorm

In WebStorm window for entering the password appears when you try to make a Push and Pull from Git: Once I enter the correct password - you receive an authorization error message. I use Putty Key. ...
1
vote
0answers
13 views

Visual Studio Code Git Issue

I'm running version 0.10.8 of Visual Studio Code in Xubuntu 14.04 x64, but used 0.8.4 before and didn't have this issue When I try to push a commit to Bitbucket via VSCode, I get the following ...
0
votes
1answer
14 views

How do I set up rsync in my environment (windows client to apache server with Wordpress installation)

I read the word rsync for the first time today after looking here on sueperuser for a solution to only transfer files which have been changed. I am working on a website with this environment: ...
1
vote
2answers
28 views

Is it a good idea to use git for configuration file version controlling?

I use Gentoo Linux and it has rather complex configuration. My question is it wise to use git for version controlling my config files? I have some git repos in my home, my guess if I put /home/** to ...
0
votes
0answers
20 views

Is it possible to create a git repository in home network for cross platform?

At home I have a Mac Mini that handels backups and works as NAS. Normal Mac users can connect to the server to upload & download files or stream media from it using plex. Right now I have a ...
0
votes
1answer
24 views

How can I upgrade Git via Chocolatey from within Git For Windows?

I use Chocolatey to manage as many Windows applications as I can, including Git. I use Git For Windows (git-cmd.exe) as my default command prompt. But this means that if I do a choco upgrade all -y ...
-1
votes
0answers
16 views

Git restore files locally deleted not committed yet

I'm new to git and accidentally deleted all my local files on my desktop and library. I have not committed it yet. How do I restore the files back ? The current git status is : HEAD detached at head ...
0
votes
0answers
6 views

Deploy Git repository on remote server

I have Bitbucket set up, and files go from development environment to Bitbucket just fine. I cannot figure out, after many hours and a lot of different information I have found, but I cannot figure ...
0
votes
1answer
24 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
9 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
11 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
21 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
13 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
22 views

Github Clones: Where Do They Belong? [closed]

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
1answer
14 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
44 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
22 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
26 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
25 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
15 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
25 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
8 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
24 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?
1
vote
0answers
7 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
32 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
23 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
27 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
26 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
18 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
35 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
34 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
17 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
67 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
15 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
5 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
35 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
17 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 ...