What scm(git) workflow works well when developing multiple services? (SOA)

We are about to start splitting our web application into multiple services, each being their own repository. We use git as our scm and I am wondering if anyone has any recommendations for a workflow for our scm (in this case git). Right now we use a similar workflow to what is shown here: http://nvie.com/posts/a-successful-git-branching-model/. […]

Safe to share local git repository between OS'

I have two OS’ installed on my computer with a common separate drive used for storing my local git repository. Is it safe to access the same physical local repo from both OS’ (Windows 7 and Ubuntu 12)? I downloaded the most recent versions of git, but the version numbers are different on each OS. […]

What's a single git command to unbork myself?

I want a single git command that does this: no matter what state I am in – I might have local unpushed commit, or unstaged commits or things in my changelist or I might be in the middle of a rebase or merge or I am in some weird state, it does this: Deletes all […]

clone a github repo to a live site but getting: Permission denied (publickey). fatal: The remote end hung up unexpectedly

I’m trying to get my github repo cloned on my live site for the first time. I pushed my public key out to my dreamhost server’s home directory from my local terminal like so: cat ~/.ssh/id_rsa.pub | ssh user@myserver.com ‘cat >> .ssh/authorized_keys’ This didn’t cause any errors and i can see my key on the […]

Git windows server with Github

I’m fairly new to Git and was hoping someone can help me. We are working with an external provider and there code is on github which has a couple of branches (say branch1 and branch2). We plan on having a local Windows git server just using a bare repo and devs will be able to […]

How to merge just added files from other branches in git?

I’m wondering if I can do selective merging, just merge back added files (that is, files in some branch with filesize changing from 0 bytes to some number)? The reason is that octopress‘s generate is too slow such that I made a branch w/ only 3 or 5 posts left to help me write my […]

Calling GIT SVN FETCH from a Crontab

I’m trying to run a scheduled cron job using a crontab from a linux box where I’d run the command git svn fetch on a periodic basis. here is what my crontab looks like: 1 #!/bin/bash 2 PATH=”/usr/local:/usr/local/bin:/bin” 3 HOME=”/home/person1/src” 4 5 * * * * * /home/person1/src/autofetch.sh 6 0 9,13,17 * * 1-5 /home/person1/src/autofetch.sh […]

git push to github ask password for another user

I configured git and my github account following the tutorials in the github web site. Now, I tried to push my files into github with git push -u origin master but it ask my for some password myunixuseraccount@gitub.com’s password Please note two things: first, my github account is not myunixuseraccount, second, note the typo in […]

Git post-receive auto-building

I’d line to install a post-receive hook in a git repository to build and install the module to some custom testing area. The idea is that the testing area will always reflect the most current code in the repo. The hook will: clone/pull the code to tmp space build the module install the module to […]

How to identify the name of the branch when receiving a push from local repository?

I want to identify the name of the branch with the incoming push each time it is received from local repo. I am planning to use the branch name in a update hook. Pls let me know how to deal with this.

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