Automatically Deploy From GitHub To Server On Push

We have a VPS on linode, and code hosted on gitHub. How do we setup so when we push to gitHub, it also pushes automatically to our linode server. We are using PHP on the linode server. Thanks.

How do I view a git repo's receive history?

We have a “central” repo that we use to deploy to our development server. I know git log will show me commits and the date/time they were committed, but I’d like to see when commits were pushed to/received by the repo. Any way to do this?

How can I find the location of origin/master in git, and how do I change it?

I’m a Git newbie. I recently moved a Rails project from Subversion to Git. I followed the tutorial here: http://www.simplisticcomplexity.com/2008/03/05/cleanly-migrate-your-subversion-repository-to-a-git-repository/ I am also using unfuddle.com to store my code. I make changes on my Mac laptop on the train to/from work and then push them to unfuddle when I have a network connection using the […]

How to enter command with password for git pull?

I want to do this command in one line: git pull && [my passphrase] How to do it?

git assume unchanged vs skip worktree – ignoring a symbolic link

I have a problems with a git repository and windows. The problem is that the git repository has a linux symbolic link in it and with developers running windows, that obviously does not work. Now since that symbolic link should never change, I want to find a way to delete that on developers and add […]

Find when a file was deleted in Git

I have a Git repository with n commits. I have a file that I need, and that used to be in the repository, and that I suddenly look for and think “Oh! Where’d that file go?” Is there a (series of) Git command(s) that will tell me that “file really_needed.txt was deleted at commit n-13”? […]

Case sensitivity in Git

I’ve run into a problem with git. Basically I set to false core.ignorecase because I wanted to change the case of the names of some folders (since I’m under OSX with a case-insensitive filesystem, the changes weren’t shown otherwise). When I pulled my data, I’ve noticed that now every renamed folder appears twice on the […]

Can I move the .git directory for a repo to it's parent directory?

I have two sub-directories each with a repo, thus : PPP/ |–ABC/ | |–.git/ | |–AAA/ | | BBB/ | | CCC/ | |–DEF/ | |–.git/ | |–DDD/ | |–EEE/ And would like to combine them into one repo, so, I would assume the directory structure would be like this: PPP/ |–.git/ |–ABC/ | |–AAA/ […]

how to process files on a branch in post-receive hook in git

I have a remote server on which I have created a bare git repository. I would like to create a hook so that a given script is run on the latest code received on any given branch. I know the post-receive hook can be used for it. However I want to do the following: Get […]

Git merge doesn't use default merge message, opens editor with default message

How can I force git merge to use the default merge message instead of loading my editor with said message? I have no editor listed in git config -l, so I’m not sure why it opens an editor.

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