Showing posts from September, 2013

Git: The Current Branch is not Configured for Pull

Fixing the Git Error:  The Current Branch is not Configured for Pull
Are you trying to perform a git pull from a remote git repo within Eclipse?  Does the pull request work for your master branch but not on other branches?

Are you seeing an error message like below:

The current branch is not configured for pull
No value for key branch.develop.merge found in configuration

Or an error message such as the following:

The current branch is not configured for pullNo value for key remote.origin.url found in configuration

Most likely, you created the branch locally and you haven't set the merge section of that branch and/or your local branch is not tracking the remote branch.  The problem lies in your git local configuration.
There are many ways to fix this but the most straightforward for me is the following:

Open up your Git Bash:

Right-click your project and click properties.  Get the location of your project in git.

Go to your git prompt:

Change your directory to your

Auto Refresh and Reload Changes When Using a Custom Env in Grails on your Local Machine

Setup Flags/Params to get Auto-Refresh/Auto-Reload of Changes Behavior in a Custom Grails Env when running Locally

OK, so you need to use a Custom Environment in Grails while developing and running on your local machine.  Unlike when using the basic develop Env, when you make some changes and refresh the page, the changes aren't there.  

Well, it turns out several flags and settings which are enabled by default in Dev mode will not be set when you create your own custom environment.  Many of these flags and settings include features that auto refresh and reload changes you make in the code and deploy those changes.  This is because these settings are processor intensive and you would not want these settings going to PROD.

This tutorial will show you how to enable those flags and settings so that you automatically refresh and reload changes on your local machine when running a custom env.

Just to reiterate, these settings are for development.  Don't use them on PROD.

STEP 1 - Setup…