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
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 ...
0
votes
0answers
13 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
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
17 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
6 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
0answers
13 views

Git push and pull with remote Respository [on hold]

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
16 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 ...
2
votes
1answer
42 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
0answers
25 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
11 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
8 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.
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
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
45 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
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
32 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 ...
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
22 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
25 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
18 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 ...
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 ...
-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
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 ...
-1
votes
0answers
13 views

Conemu git alias creation

I am trying to create this alias in ConEmu but it fails (I guess because of the second =) alias gittwo=git --git-dir=.gittwo Any suggestions? I tried with quotes but they aren't being ...
0
votes
0answers
12 views

Why does “View History” not work for sub module files in Visual Studio 2015?

I use Visual Studio 2015 Update 2 on a Git repository. Everything works fine, including the Commit/Branch features that were improved in Update 2. However, when I right-click on any file in a sub ...
-1
votes
2answers
24 views

Create Github repository from API

Please provide working code that creates a Github repository using the API. I have tried different versions of the following: curl 'https://api.github.com/users/repos?client_id= ...
0
votes
0answers
7 views

Handle two variants with Git

I have a repository that holds two variants of the same software in two branches. Both branches are merged into each other quite often to exchange their fixes and new features. However, there is a ...
2
votes
1answer
81 views

git: “pack has bad object” when pushing to remote

I have a bare git repository on my Raspberry Pi which only I use. When pushing to it today, I got this error message: Counting objects: 460, done. Delta compression using up to 8 threads. Compressing ...
1
vote
0answers
25 views

way to automate git repositories cloning

I have to clone several repositories on the VM-s and then building software on them. I have pretty nice build script but there is one issue. Before build, several repos should be cloned, and after ...
3
votes
0answers
12 views

Wrap git's shell script to add bashrc or equivalent start-up commands

My server has a git user that handles all git access. You can't log in with it. It's only for git access. That works because GIT comes with a handly shell /usr/bin/git-shell. Login feedback: fatal: ...
3
votes
1answer
18 views

Why are key agents sometimes preferred over configuration files?

Some programs seem to prefer to use an SSH key agent, rather than specifying the key file in some configuration file somewhere. Examples: GitHub's instructions for using SSH SourceTree's method ...
0
votes
0answers
28 views

how to create android source mirror?

I want create mirror copy of android source. From where other developer of my team can download locally from that mirror server code using SSH from server. I use following command for create mirror ...
1
vote
1answer
77 views

How to get bash-style autocompletion in zsh, (for git command)

I switched to zsh and find it better than bash, but I have a problem with oh-my-zsh's (hereafter "OMZ") autocomplete feature. When I type git chec, OMZ completes that to git check; in bash it gets ...
0
votes
0answers
12 views

How to cd into my local git repo from an AppleScript?

I am running a Mac using OSX Yosemite v10.10.5. I want to push my local git repo to my remote using AppleScript. So the git code would be: shell git init git add README.md git commit -m "first ...
0
votes
0answers
8 views

Tuleap: The repository is in queue for creation (codendiadm is in gitolite groups)

I have the repositories with this message: The repository is in queue for creation. Please check back here in a few minutes codendiadm is in gitolite group Anybody have a idea about this. Thanks in ...
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.
0
votes
0answers
22 views

Atom on Mac: Close window to terminate process

I use Atom as my git commit/rebase message editor. And I'm on Mac. I know that atom -w can be used to keep git waiting until the Atom process is terminated. However, my problem is, often time, I have ...
0
votes
0answers
19 views

Error create GIT repository

When I create GIT repository, in the system event of git queue, say ERROR with this message Command execution failure: /opt/rh/git19/root/usr/bin/git --work-tree='/var/lib/tuleap/gitolite/admin' ...
0
votes
0answers
11 views

How to get git > v.1.8.2 on RHEL 6?

I've just realized that the version of git that ships with RHEL6 is 6 years old. That would be version 1.7.1. This does not support a feature that was added in git v.1.8.2 (which itself is 3-1/2 ...
0
votes
1answer
23 views

Syncing 10 remote repositories to one local directory with 10 projects in it

I have a local directory with ten projects in it. I want to sync all ten projects with ten remote github repositories. How would I accomplish this using git more efficiently than manually pushing all ...
2
votes
0answers
45 views

Git - Git Pull Not Working In Cygwin

Just recently, git in Cygwin has not been behaving correctly. When I try to run a command like git pull it does not show anything about the pull. The git status command works just fine and shows the ...