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

-2
votes
2answers
319 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
26 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
23 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
38 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
53 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
31 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
94 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
50 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
10 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
61 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
85 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
30 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
35 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
162 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
256 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
13 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
191 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
85 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
42 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
196 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
31 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
51 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
43 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
105 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
116 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
46 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 ...
1
vote
0answers
81 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
74 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 ...
0
votes
1answer
96 views

Webstorm git-svn integration

We do not run a git remote repository. We only use git as a local vcs and push our code to a remote subversion repository via git-svn. For now I am using the terminal for all my git and git svn ...
0
votes
1answer
29 views

How to checkout git sources on remote machine using local ssh key?

Machine alice wants to deploy code to machine bob - which is a freshly started server somewhere in the cloud. The code is in private repo alice has ssh keys to. Basically alice wants to ssh bob "git ...
1
vote
1answer
21 views

Search a whole Git repository

I'm looking for a tool that lets me perform a search through a complete Git repository (all branches). Ideally that tool would take some search pattern and would return a list of commit objects where ...
0
votes
1answer
21 views

Github file ok in one machine but not working in another

I have a .svg file that a fellow colleague committed to Github and I pulled at work for edits and committed. Some urgent edits where asked and now I'm editing the file from home, the file doesn't open ...
-1
votes
1answer
84 views

Sync two folder (2 way sync) in one windows machine in realtime

I am searching for a solution how to keep sync two folders, in same machine. It can be something very simple. But it must always keep the last changes files, on all folders. I am thought maybe it can ...
0
votes
1answer
51 views

git-send-email Causes “Must issue a STARTTLS command first” Error

I am attempting to send a patch with git-send-email through my Postfix mail server. Unfortunately, whenever I do, I just get this error spat back to me: <recipient@example.com>: host domain....
1
vote
1answer
183 views

git what's the recommended way to update from old 32bit version to new 64 bit version in windows

I want to update my git version from 32bit (v 1.9.5) to the latest version (2.6.3) I downloaded a 64bit version. Should I stick with 32bit? As I see it I could uninstall the old version by removing ...
0
votes
1answer
46 views

How can I make a set of commits the children of another commit in git?

I have a repo I inherited, it was created by downloading a zip of code from github not cloned, and almost all changes were made before the first commit. I found which commit it was created at (I ...
0
votes
0answers
49 views

Powershell possible to give input to underlying script

I am sorry I could not think of a better title. My problem is I have a PowerShell script which calls a git command (git credential-wincred store) to store credentials to connect to a git repository. ...
0
votes
0answers
9 views

Github Won't Open [duplicate]

Similar to this issue: Github for windows not working after install When I install the Github desktop on Windows 7, it opens briefly in the task manager and shuts down. I have re-installed numerous ...
0
votes
1answer
152 views

Telling rm command to exclude a subfolder named 'graphs'

I'm quite ignorant when it comes to linux commands. I found this line in a post-receive setting in my git production hook. find /home/app/myapp.com/app/tmp/cache -type f -exec rm {} \; Inside that /...
0
votes
1answer
101 views

How to define installation directory for Github for windows?

Github for Windows is a "one-click install" thing. There is a problem with it: there are no setup options. It only installs in %appData%\Local\ under \GitHub, \Apps\2.0\YYZRRD9X.HWG\RVTJXJ3M.LBH\...
0
votes
1answer
147 views

How can I change the directory that ssh-keygen outputs to?

I want to run a command like: ssh-keygen -t rsa -b 4096 -C "your_email@example.com" My understanding is that ssh-keygen outputs to the home directory. I'm working on a networked computer using Git ...
0
votes
0answers
16 views

registering an application in the Registry/../AppPath WITH flags

What I would like to do is to have Git Bash open through Visual Basic Process.Start() with the --login -i flags already set. To do this, I realized I need to have the shell file added to the registry ...
1
vote
1answer
97 views

How to efficiently exclude .svn and .git folders in Windows 10 indexing?

I have 2 big folders "Projects" and "Studies" with lots of SVN and some GIT projects inside. I had to disable indexing for them entirely, because, due to the sheer amount of files in .svn and .git ...
0
votes
1answer
300 views

js, and css not appearing after installing gitlab

I have gitlab installed on port 8088 on top of an existing apache on CentOS 6.5 and I used this tutorial https://about.gitlab.com/downloads/#centos6 Because I also use apache on this server, I ...