At my office, we have a home grown content management system. Slowly but steadily, we have setup 60 instances of our CMS. Yes, we are a big company; an NGO. Most of our offices use the CMS in its current form. Some of the offices customized the colors, fonts, basically skins. Some others build new […]
If I have a few local topic branches I have made commits on and haven’t yet pushed them to the remote, how can I delete them? I don’t want to pollute the main tree with unwanted commits.
I’m trying to combine code on two branches with the ‘git merge‘ command, but git is crashing during the process. I need to find an alternative way to merge these branches. To increase merge output to a debug level I ran: $ export GIT_MERGE_VERBOSITY=5 I am currently on the destination branch. git-status shows everything clean […]
First, I have to apologise – there are quite a number of ‘how to undo a merge‘ questions on SO, but I’m so new at git that I really don’t understand how to adapt the solutions them to my situation (though I’m sure they can be). I have two branches, versionA and versionB. I made […]
Not knowing any better, I’d always used blissfully git pull (without arguments) to get remote updates. Now that we’re using branches, this has come back to haunt me. After doing a git pull, I noticed that my local master had been merged with the other branches as well, whereas on the remote, the branches are […]
What is the best way to “show” unfinished features (branches) by checking them out in another local repository? The usual way is to create an new local branch git checkout -b feature origin/feature. But thinking about: Local branches on the target machine are only temporary needed, will be deleted for sure. Read-only access would be […]
We’re moving our source control from VSS to Git (and VERY happy about that). I’m trying to determine the best strategy in Git to track which versions of our code are deployed on which boxes in our environment. So far we’ve only dedicated our GitHub master branch to exclusively represent what is in production ONLY. […]
Just cloned a git repo which has (besides the master branch) a lot of development branches. How can I tell which branch it was that the latest change was made to? Most elegantly of course.
Our team is developing a game. I’d like to try separate prototype which is based on our code but will slightly be different. We use svn for code repository. Now for my own prototype, how should I set up a repo so that I can keep updates from the svn but won’t let me commit […]
I’m using git. I have a branch, apifixes, that was branched from master some time ago. Most, but not all, of the changes from the apifixes branch have been merged back into master. At least, I believe this is the case, because when I try to do git branch -d apifixes I get the following […]