Tag: linux

Not able to “git pull” – Host key verification failed

I’ve got root access to our production server and I want to deploy the latest version in git to the server but I’m running into the error below when I “git pull” on the folder I want to update. I’ve browsed around a bit, but can’t find a clear answer on what to do.. The […]

How to detect if a git clone failed in a bash script

How can I tell if a git clone had an error in a bash script? git clone git@github.com:my-username/my-repo.git If there was an error, I want to simply exit 1;

Error with gradlew: /usr/bin/env: bash: No such file or directory

After committing my project’s gradlew file from my Windows machine to the remote repo using Git, invoking gradlew on my Linux server failed with this message: /usr/bin/env: bash: No such file or directory What happened?

Can't clone a github repo on Linux via HTTPS

I’m trying to do a simple git clone https://github.com/org/project.git on a CentOS box but get: error: The requested URL returned error: 401 while accessing https://github.com/org/project.git/info/refs fatal: HTTP request failed It never prompts me for my username/password, just fails. I can make the exact same call on my Mac no problem- what am I missing?

Unable to update Git on Ubuntu

I am trying to set up Git on an Ubuntu Machine (I’m using a Samsung Chromebook running Ubuntu 12.04). When I entered “sudo apt-get install git” and it successfully installed Git 1.79 user@ChrUbuntu:~$ git –version git version I can’t figure out what I am doing wrong here. Any suggestions?

Git unable to create file permission denied

I am using Amazon EC2 to host a website which is deployed to the server via git. I used this tutorial previously on the same kind of EC2 Ubuntu Linux Server instance, and it has worked flawlessly. However, when I try and push to the server, I receive the following error trace: Tutorial: http://toroid.org/ams/git-website-howto Trace: […]

Git status ignore line endings / identical files / windows & linux environment / dropbox / mled

How do I make git status ignore line ending differences? Background info: I use randomly Windows and Linux to work on the project. The project is in Dropbox. I found a lot about how do make git diff ignore line endings. Since i use meld git diff opens meld for each file. And meld says […]

Git GUI like Bzr Explorer but for Git?

What GUI’s are there for GIT that are like Bazaar Explorer? Preferably for Linux. screenshot http://www.ubuntugeek.com/wp-content/uploads/2009/11/home-page-screenshot.png Would be great to include or link to screenshots in the answers. If you could do each app as one answer, they could be individually voted on.

How to Add Linux Executable Files to .gitignore?

How do you add linux executable files to .gitignore without giving them an explicit extension and without placing them in a specific or /bin directory? Most are named the same as the C file from which they were compiled without the “.c” extension.

Strange behaviour of Git: mysterious changes cannot be undone

I am seeing a behaviour in Git which seems very mysterious to me. I keep a clone of the Linux repository from Github to play with Git locally. To be clear, I don’t do much in this repository : I fetch changes, update master, checkout a specific version, and sometimes I try out a Git […]

Git Baby is a git and github fan, let's start git clone.