On Wed, Dec 19, 2012 at 9:27 AM, Sean Devoy <sdevoy@bizfocused.com> wrote:

Can someone at least tell me the GIT command to go back one or more versions in the “Stable” build that is clearly not stable?

When asking for help I'd not at the same time nag about how things are not "stable", it gives a rather demanding tone for someone asking for help. 

If you are using git, even when checking out a stable branch, small mistakes are to be expected. Most likely full QA will not be run on every commit, but at some specific points in time, like before making a new release out of that branch. Also the issue could very well be due to your specific build environment.

Anyhow, all you have to do to go back 1 commit is:

# git reset --hard HEAD~1

Change 1 for any number of commits you want to go back.

You could also checkout a specific commit:

# git checkout <commit-hash-id>

I personally prefer the former as doing git checkout leaves you in a detached state (unless you create a new branch out of that commit)


Moises Silva
Manager, Software Engineering

msilva@sangoma.com

Sangoma Technologies

100 Renfrew Drive, Suite 100, Markham, ON L3R 9R6 Canada


t.   +1 800 388 2475 (N. America)

t.   +1 905 474 1990 x128

f.   +1 905 474 9223

 

Products | Solutions | Events | Contact | Wiki | Facebook | Twitter`| | YouTube