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

Opening an existing Tower git repo from the command line

I'm running the Tower git client on OS X and want to be able to open it to a repo already on disk and added to its list. Looking at their custom URL scheme documentation, it seems like it might be ...
0
votes
0answers
5 views

How to share private links for markdown formatted view [on hold]

I write some articles in markdown, they are private and I want to email this to people for viewing. Github or Bitbucket can format these nicely, but they don't provide a private link to share. Is ...
2
votes
1answer
24 views

Atlassian SourceTree: How to change line endings globally?

Is there a way either in Atlassian SourceTree or with my current git host (BitBucket) to change the line endings globally for all my repositories. I think they are currently set to Unix (I think I ...
0
votes
0answers
5 views

Have git push assume -o origin $branch

When I create a local branch with Git, I would prefer to be able to assume that a push will track origin with the same name. Right now, the following: git checkout -b $branch git push Yields ...
0
votes
0answers
4 views

Custom git init

Is it possible to create a custom git init with certain templates in place? What I wish to do is to have each of my projects have a post-commit hook command that pushes the project to my personal ...
0
votes
1answer
12 views

Can i repo initialize multiple source code branches in one directory?

repo is a tool that manages download of android source code from github. To download a branch (say b1) source code, we do,, repo init -u url -b b1 I want to download multiple branches (gingerbread, ...
0
votes
1answer
21 views

How to get latest version of git?

I am running ubuntu 14.04 LTS, need to install git 1.9.5 or above. I did sudo apt-get install git then ran git --version and it shows I currently have 1.9.1 installed. Git download url shows latest ...
0
votes
0answers
7 views

In Jenkins, what should I specify for git branch, if I want feature aware SCM polling?

I want to use the Feature Branch Notifier Plugin so that Jenkins automatically runs mvn test whenever a git feature branch receives a new commit. Since the job is effectively polling for all ...
0
votes
0answers
11 views

Git Extensions advanced filtering displays wrong results (commits that don't match my filters)

I'm using git extensions to do a file filter (using version 2.48). Right-click -> View -> set advanced filter I check only: ignore case file filter branches (is checked by default) but i have ...
0
votes
0answers
14 views

How can I fetch the next N commits using git?

I am working remotely from a country with unreliable internet, and the full git fetch is just too big to actually work (it hangs indefinitely until timeout). Is there a way to tell git to fetch only N ...
0
votes
1answer
14 views

Malloc failed upon git pull

I get this error trying to git pull: $git pull origin master remote: Counting objects: 91, done. remote: Compressing objects: 100% (79/79), done. fatal: Out of memory, malloc failed (tried to ...
0
votes
1answer
112 views

Can't install Ruby 2.2.0 using rbenv

I installed rbenv from GitHub: git clone git://github.com/sstephenson/rbenv.git ~/.rbenv git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build I’m trying to install Ruby ...
0
votes
1answer
14 views

Git push fails to find repo and fails with exit code 128

I'm using CentOS 5.5 and need to install git server on it. Installed git and set home directory: yum install git mkdir -p /home/git cd /home/git/ chmod 777 -R . # yeah I know this is evil, but I ...
0
votes
1answer
36 views

SSH into Homestead Using Git Bash on Windows Characters Not Displayed Properly

After running: homestead ssh and logging into the VM everything looks okay until you're typing certain commands or viewing command results where the characters aren't rendered properly so you get ...
0
votes
1answer
17 views

Linux: developement environment for testing already installed application

I have cloned repository with git, that I would like to modify and test. However I have already installed this application via apt-get and I wouldn't like to make conflicts. What are good practices to ...
3
votes
1answer
140 views

Is it safe to install newer Python and Git versions from source?

I wanted to install newer versions of Python and Git to my system. I eventually used the commands below to compile and install new versions. However, I was informed that it would have been better to ...
0
votes
0answers
7 views

Changing Git Location on Mac OS X

I have a version of Git (1.9.3) already installed on my computer at /usr/bin. This version was installed (if I remember correctly) by XCode. I would like to install 2.2.1 (the download version from ...
0
votes
0answers
10 views

Command to search for a string in all of the previous commits of a user

I changed something about 1 week ago and I realized that it impacted something today. But the question is I have no idea what I changed, but I do have a hint of what I changed. What is the command ...
3
votes
1answer
61 views

GitHub windows 7 sh.exe has stopped working

Every time I run an operation from the command line for GitHub for windows I get a popup that says sh.exe has stopped working. The UI seems to work correctly. The command line is using the sh.exe that ...
2
votes
1answer
74 views

dyld: Library not loaded: /usr/lib/libcurl.4.dylib curl SSL error

I'm not sure what happened to my system but I am having an issue with dyld/curl, affecting my overall computer performance. I am on Yosemite. I have a feeling it's the Conda openssl. How do I just ...
3
votes
2answers
65 views

Simple read-only access for git repository over http: Will it just work?

I use gitolite to manage git repositories, that are available over the internet using SSH and private keys. I want to provide read-only access to some of those repositories from my LAN. I know that ...
-1
votes
0answers
41 views

OpenSSH for windows using /cygdrive/g/.ssh as home folder

My problem is simple. I just installed OpenSSH ( I also have cygwin, but I need to have the windows command line ssh.exe working ) . When doing ssh -T git@github.com I see that ssh.exe is trying to ...
0
votes
0answers
12 views

Docker workflow with multiple packages and shared sources

Let's say I want to use Docker for an app, which consists of two parts. These parts are different, but they have some shared libraries. So, I have two folders: part1/ Dockerfile src/ part2/ ...
0
votes
1answer
51 views

Looking for 64-bit msysgit

My git operations are failing when they hit the 4GB limit memory limit for 32-bit processes. E:\source>file "C:\Program Files (x86)\Git\bin\git.exe" C:\Program Files (x86)\Git\bin\git.exe; PE32 ...
1
vote
1answer
15 views

How can I use 'git add' command on a file whose path includes a directory with spaces

I'm trying to use Git Add command to stage a couple of files for committing later. However, I can't seem to add it because Git bash doesn't like a directory with spaces in it. How can get around this ...
0
votes
1answer
10 views

How do I replace two lines each other in editor in Terminal?

I have this: pick 887b66f add 222 Dziewiecsil to flowers new title pick dc331cb new name of beginning commit And I want to get this: pick dc331cb new name of beginning commit pick 887b66f add 222 ...
0
votes
0answers
9 views

Suggestions on how to set up my dev server for dev clients (Linux and WIndows)?

I am creating web intranet systems and have always struggled with developing on multiple clients with moving files and databases over back and forth trying to keep everything in sync. I have now set ...
0
votes
1answer
23 views

gpg-agent is not requested in git calls

In git commits (gpg), git command always asks for passphrase while gpg-agent is running. I launch gpg-agent with $ eval `gpg-agent -s --enable-ssh-support --daemon --write-env-file ...
0
votes
0answers
9 views

Git not remembering password

I made a Github repo to manage my dotfiles and figure I should test it. So, I deleted the repo, did git clone REPO and thought it would work. Now, however, if I go into REPO's directory and try to ...
0
votes
1answer
22 views

Where do git environment variables go?

When I set an environment variable in git using the export command, where does that variable get stored? It's not in my .gitconfig file, and it doesn't appear to be added to my Windows environment ...
-1
votes
1answer
20 views

generate an ssh key for all users

I want to generate a ssh key on a virtual server that will be in use for all users. I did created a key for myself ssh-keygen -t rsa -C "my@gamil.com" but it's under my user only. is there a ...
0
votes
0answers
40 views

Automatically publish to AWS S3 when pushing to BitBucket

I am a complete noob to BitBucket and git stuff. Here is my secenerio, whenever i git push to BitBucket the newly created repo should be automatically published to AWS S3. I have searched and found ...
1
vote
1answer
30 views

Reverse output of a command

I'm trying to get the reversed output from git log --branches --graph --oneline (Sadly you can't pass --reverse to it because it says it's incompatible with --graph) Is there a way to reverse the ...
0
votes
0answers
39 views

How connect with Git repository over ssh behind evil proxy

My proxy (192.168.1.1:3128) not allow connection over ssh and I wish work with git repository like this: for clone: git clone ssh://user@server.com:2222/~/repository.git For cheat web forbidden, I ...
0
votes
1answer
82 views

windows 7 file explorer crashes after mkdir via git bash

My environment: Windows 7 Git v1.9.0 Steps to reproduce my problem: open a folder in windows explorer right click in that folder and select "Git Bash" execute: "mkdir test" in the git bash ...
0
votes
0answers
21 views

How to set up git user for group-writeable repositories and SSH access?

I am setting up a Git server on Ubuntu 14.04 LTS. I need the server to support both the SSH and HTTP protocols. So far I've followed the instructions in the Git Book to get my server to support the ...
0
votes
2answers
50 views

Why is Git failing to update?

This is actual copy/paste from my shell: machine:~ me$ brew install git ==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/git-2.2.1.mountain_lion.bottle.tar.gz ...
0
votes
0answers
14 views

Atlassian SourceTree: Copy Git Checksum To Clipboard

How can one copy the checksum of a Git commit to the clipboard using Atlassian SourceTree (OSX)? I know I have seen this feature in the Tortoise family of clients.
0
votes
1answer
86 views

Recover incomplete download in Android Open Source Project

I am trying to sync the following repo repo init -u git://github.com/CyanogenMod/android.git -b gingerbread and then repo sync my problem is that repo sync stuck at fetching projects 99 ...
0
votes
2answers
21 views

git pull conflicts when pulling a non current branch

I have a problem when manipulating git pull. Consider I have 2 branches on my remote (origin) repository : A and B. The remote B branch is ahead of the local B branch by 1 commit. This additional ...
0
votes
0answers
23 views

Using Git as an svn client

I used to use git-svn as a simple, powerful svn client. I stopped awhile ago for a variety of reasons, and now I'm trying to get started again, and it doesn't seem to work anymore. (Note: I'm not ...
-1
votes
1answer
67 views

GitHub Not Accessible for any browser

I can't access https://github.com/ website. I have try all browser. but, it is not run site. I get server not found error. Why is not run Only github site?
0
votes
1answer
48 views

Backup Git repository from Xcode server

I have a OSX server with the Xcode service activated. The server hosts multiple git repositories, git is installed automatically by the service Xcode server. I use Time Machine, but the problem is ...
0
votes
0answers
19 views

Configure GIT_EDITOR for Windos

I am a beginner using GIT. I installed GIT on my Windows-7 PC and make the first steps. The command git commit -v allows to edit the commit message with an editor before doing the actual commit. I ...
1
vote
1answer
23 views

Issue on github stays closed after I deleted a pushed commit

I closed an issue via commit message of a commit. But then I decided to revert the pushed commit with the git rebase command. Deleting worked fine; gitk shows the cleaned history as intented. ...
0
votes
0answers
64 views

Gitweb 404 - No projects found on ArchLinux ARM

I have some troubles with gitweb configuration on my RPi (powered by ArchLinux ARM). As you can see in the topic title I get "404 No projects founds" error. I followed ArchLinux wiki but it didn't ...
0
votes
0answers
69 views

Repository not found error for private git server

I am trying to set up a private git server with http(s) access on nginx. When I try to clone a repo, I get an error: $ git clone http://git.example.com/git/MyRepo.git Cloning into 'MyRepo'... ...
0
votes
0answers
7 views

Soft links behaving badly in OS X

I have a very small open source project used to help people with speech disabilities communicate. You can see a working version here and the github for the whole project is here. I'm currently ...
0
votes
0answers
65 views

Configuring a Git server on Arch Linux

I’m looking to turn my website that I’m building from scratch (that is, the root of the site) into a Git server. Basically I’d like to be able to have a local copy that I can edit through Eclipse and ...
0
votes
0answers
128 views

git submodule foreach git pull origin master vs. git pull --recursive-submodules

I manage a repository with several submodules. For a while now I've been using $ git submodule foreach git pull origin master to pull in the latest changes for all of these guys. However, recently ...