diff --git a/git.go b/git.go index c337fbb..79464ab 100644 --- a/git.go +++ b/git.go @@ -161,6 +161,17 @@ func (rs *RepoStatus) CheckoutMaster() bool { return true } +func (rs *RepoStatus) CheckoutDevel() bool { + devel := rs.develWorkingName.String() + // user := rs.userWorkingName.String() + + log.Log(INFO, "checkoutBranch", devel) + rs.checkoutBranch("devel", devel) + // log.Log(INFO, "checkoutBranch", user) + // rs.checkoutBranch("user", user) + return true +} + func (rs *RepoStatus) checkoutBranch(level string, branch string) { if rs.CheckDirty() { log.Log(INFO, "checkoutBranch() checkDirty() == true for repo", rs.realPath.String(), "looking for branch:", branch)