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

Repo-wide configuration of git

How can i make a persistent git-config file for the whole repository? I know, that there is a system wide, a user and a repository configuration. What i want is a configuration wich is automatically ...
0
votes
1answer
5 views

Rebasing in Git (Fetch and then..?)

I have been working locally on a new computer to which I transferred all data from my old computer via external drive. I decided to try to rebase my work with what I have already on my server. First ...
5
votes
1answer
3k views

Git - Error invalid path

I have been working for so long on a mac and have committed it looks like a file like this: C:/Csmart/files/companies/19/migration/CompanyDataEntry.xls This file does not exist in the repository. ...
0
votes
0answers
14 views

Does Github Desktop understand when changes have been committed on command line?

I'm trialing Github desktop for our designers, so they can easily work within a repository that devs do as well. Github desktop seemed OK, but I just made 2 commits via the cmd line rather than the ...
0
votes
2answers
3k views

How to Compile and Install Remmina From GIT Repository for Ubuntu (KDE)?

Gentlemen, I would like to compile a version of Remmina directly from the GIT repository, because I need to apply a patch to fix a problem. With the command sequence below I can compile it and ...
2
votes
1answer
44 views

GIT from source: fatal: Unable to find remote helper for 'https'

Due to me not having root rights, I compiled git from source locally. My distro is OpenSUSE 13.1. Googling the error fatal: Unable to find remote helper for 'https' It was suggested that curl is not ...
0
votes
1answer
12 views

cloned repo with same name as a local folder and it deleted everything inside

Hi there I cloned a repo with the name COMP to documents in my mac with and I forgot there was a folder called COMP there also. I didn't read the warning properly and now all the things that were ...
0
votes
0answers
19 views

what to do when I forgot my master password on smartgit?

I'm using SmartGit 7.1.3 for take care of a github repository. I put a master password on the smartgit when I was setting the repository. Next I forgot my master password then I didn't sync with my ...
0
votes
0answers
7 views

git clone fatal: 'origin' does not appear to be a git repository for VMware vmhgfs share

I'm getting this "fatal: 'origin' does not appear to be a git repository" error while doing git clone (go get) . $ git clone https://github.com/andybalholm/cascadia ...
1
vote
3answers
98 views

How to add GIT and GITHUB as safe applications to Bit Defender

I use BIT DEFENDER internet security 2016 When I'm trying to commit/push/pull/fetch/other I get told Bit Defender has blocked it. I need to be able to mark GIT as safe (to white list it) Searching ...
1
vote
0answers
13 views

Git push and pull with remote Respository [closed]

So, I'm working on this project, but I'm currently stuck ... I work on a Linux Server and have to push/pull from a remote windows server. But nothing seems to work. What could I do? Which commands ...
0
votes
0answers
17 views

how to shorten git to g by using a alias

I am running git 2.7.2.windows.1 and I have edited my .bashrc file to have this line alias g='git' but when I type g status I get an error bash: g: command not found I even tried editing my ...
0
votes
1answer
8 views

How can I get a Git repo to push/pull when the Git server is behind a firewall?

My work place currently has a gitlab server behind their corporate firewall and currently their public dev sites are facing the internet. I can access the gitlab server only when I'm on their vpn. I ...
1
vote
1answer
23 views

Piping credentails to git push

Whenever I execute git push, I have to type my username and password at the prompt manually. However, I want to automate this process. So, I tried to pass the credentials to the command using ...
0
votes
0answers
11 views

Github or Git commands for Flatten, Hydrate, Inflate

I'm working on a project that already has a few javascript and css libraries and even some binary files in it and wanted to add a project.json file for the libraries that exist in nodejs or other ...
0
votes
3answers
16 views

Git: list all files in another branch that are not in the current branch?

git diff <other branch> <this branch> will show me all differences, but files that don't exist in the current branch have no special indicator in that list.
207
votes
10answers
192k views

How to tell git which private key to use?

ssh has the -i option to tell which private key file to use when authenticating: -i identity_fileSelects a file from which the identity (private key) for RSA or DSA authentication is read.  ...
0
votes
0answers
27 views

How can I make git bash `which` command work with windows?

If I type which node in git bash in Windows, then I get node's path, but when I type which open, it says it's not found. The open program is in PATH, but not marked as executable since chmod +x ...
0
votes
0answers
12 views

MINGW64 (downloaded from www.git-scm.com) - How can I set it to use my system version of vim, rather than the build in version?

I'm trying to set up vim as a GO IDE. I also use the version of MINGW64 that git ships with as my terminal. Everything works as expected. I can run gvim from the terminal no problem, but when I try ...
-1
votes
0answers
10 views

suitable git version for mac mavericks 10.9.5?

Can anyone please tell me the git version that is suitable for mac mavericks 10.9.5 specifically?I recently had googled about this but still getting different info from different sites!!Hoping that ...
0
votes
0answers
9 views

Getting my private key from my OpenShift account

I am a relatively new user to OpenShift. I have some experience with git and I was using it perfectly on my old Mac. The Mac broke down and had to recycle the parts to a store that recycles computer ...
0
votes
1answer
10 views

how to integrate redmine with git, to close issues?

I had install Bitnami Redmine on my Windows 7 I want to close the issue when I make a commit. it should update the issue status in redmine.
10
votes
2answers
11k views

How can you avoid being asked to enter your BitBucket password when you push to BitBucket wiki?

I'm not sure if everyone experiences this - when I edit a BitBucket wiki locally (through a git repository) I have to enter my BitBucket password for every pull and push. Is there any way around ...
3
votes
2answers
3k views

GIT Identity file not accessible: No such file or directory

Host github.com git HostName github.com User git IdentityFile ~/.ssh/github # I've tried also /home/freinn/.shh/github There's no /home/freinn/github file created, have I to create it? ...
0
votes
1answer
56 views

How to remove all the apt-get packages and updates since installation in Ubuntu 14.04?

Iam working on a new project and i some what messed things up in the operating system and i unnecessarily installed and updates some packages.So i cant figure out which packages i installed,so i have ...
1
vote
1answer
2k views

Make msysgit work with cygwin ssh?

git-upload-pack errors occur when sshing into cygwin. sshd in cygwin does not take paths from .bash_profile as expected in a *nix environment. What is the way to remedy this and make msysgit work ...
1
vote
1answer
64 views

How to make the latest Git commit become remote Head

New to Git and it was suddenly foisted on me from a simple TortoiseSVN. I'm not sure if a need to do a rebase or what but I have a previous commit in a remote repository that may be the HEAD (not ...
2
votes
2answers
604 views

How to amend the n-th commit before?

I want to change a word in commit HEAD^2, how to do it? EDIT These commits have not been pushed yet. So it doesn't shown as pick xxxxxx in the interactive editor.
1
vote
1answer
13 views

What is the git command xcode runs when clicking discard all changes?

noob here, I would like to understand what git command xcode actually runs when I click "Discard all changes" from the Source Control dropdown menu. Thank you!
1
vote
0answers
48 views

Vim Plugins within Git Bash for Windows

In an effort to improve the terminal usability in Windows I have setup ConEmu to use Git Bash for Windows as the default terminal. I use Vim Plug to manage my Vim Plugins, and have already set up the ...
0
votes
2answers
246 views

TortoiseGit: Moving files to new folder not recognized as move

I'm trying to move some files in my repository to a new folder. I want git / TortoiseGit to recognize that this is a move instead of a delete and multiple adds. How can I make this work? I checked the ...
3
votes
1answer
4k views

Downloading big Git repos on Windows without getting “out of memory”

When I try downloading or cloning a large Git repo I keep getting an "out of memory" error like so: error: git upload-pack: git-pack-objects died with error. fatal: git upload-pack: aborting due to ...
1
vote
0answers
121 views

Git suddenly started to choke on “git pull” for only one repo

Yesterday, at some point in time, my Git for Windows suddenly started to choke (hang forever) on git pull for only one repo. I managed to pull changes ten times this day, I started to fail on eleventh ...
0
votes
0answers
13 views

git under Kerberos: 'fatal: error when closing sha1 file: Connection timed out'

Trying to update a git repo on a remote server with kerberos authentication. running me@remote:/path/to/repo/$ git fetch local:/path/to/repo yields the error fatal: error when closing sha1 file: ...
0
votes
0answers
16 views

git deployment to windows machine

I am developing scripts for stimulus presentation in an experiment in cognitive neuroscience (in a proprietary language). 'Deploying' these scripts simply means copying them to the desktop of a ...
0
votes
0answers
10 views

Git pull fails while push and fetch are working

Ok, this is irritating because I thought that if push and fetch are working, so should pull as it is based on the same git configuration line (section [remote "origin"] -> URL). Origin is a server ...
0
votes
0answers
33 views

Deleted a Windows folder using Linux command rmdir -rf foldername

I have a folder on a Windows 7 machine with contents in it and decided to delete it using Git Bash, namely with the command rmdir -rf foldername. According to this manual ...
6
votes
4answers
7k views

How can I make git commit files in a symlinked folder

I have two folders: /home/me/code/project/ /srv/www/projectfiles/ In the /home/me/code/project folder, I have symlinked static to /srv/www/projectfiles/ i.e. /home/me/code/project/static/ -> ...
0
votes
0answers
16 views

How to display git ls-file result in a tree-like format?

Let's say I have a git repo which output with tree is: . ...
0
votes
0answers
23 views

issue launching atom via git bash shell

I am trying to launch atom from the git bash command line. Sometimes atom has some sort of an auto-update feature where it upgrades itself. And when that happens, you may notice something on the ...
-1
votes
0answers
26 views

Upgrade Latest Git Version from x86 to 64bit on Windows

I want to update git version on my PC.The current git version is 1.9.5.msysgit.1 and the path is C:\Program Files(x86)\Git I downloaded latest git (2.8.2) for 64bit. When I click install .exe file, ...
0
votes
1answer
22 views

Can not find .gitconfig in user directory

I opened the CMD and go to my user folder. Inside is the .gitconfig file. When I do git config --global http.proxy http://127.0.0.1:3128 it says that the file/folder .gitconfig is not found! Why ...
0
votes
0answers
20 views

Could not read from remote repository

I am facing an issue while configuring the git lab. I have two systems called A and B (both are Linux). I have configured git lab on machine A and I can access from machine B via the browser. I can ...
1
vote
0answers
245 views

Windows Null not Working Correctly

GitHub for Windows is not working correctly, citing a /dev/null error. I have since discovered that Windows' null.sys and Null device may have something to do with it, as running dir > nul returns ...
0
votes
1answer
41 views

Trying to install GitLab on Apache on CentOS 7

Hey SuperUser community, I'm new to this forum so I'll make this quick. I'm an amateur CentOS System Administrator. I'm teaching myself as I go, but I recently hit a stumbling block. I'm trying to ...
0
votes
1answer
59 views

Using windows Git Bash in MobaXterm

I have custom macros etc in my mobaxterm, but I have worked for a half a year on a remote linux machines, now I have my code on my local PC and I use git bash. Can I use it through MobaXterm?
-1
votes
1answer
19 views

Reconstructing Git Repository

Suppose I have a git repository set up on a central server and cloned it to multiple machines. Suppose also that I have made modifications to the repo on some of the machines and pushed and pulled ...
0
votes
0answers
7 views

Webfaction: how do I have my secondary user sudoing as main user in post-receive?

I am using webfaction (remember this, since I don't have access to root or standard sudo foo --bar commands to get admin rights) and have two user accounts in a server I manage for someone (one user ...
0
votes
1answer
42 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
0answers
4 views

How to show result of git reflog in the same window as the other commands?

When I type git reflog, the result is shown in another window like with man command (I don't really know how to call it). To quit the window you must use q key. How to show the result in the same ...