Top Menu

Jump to content
Home
    • Projects
    • Work packages
    • News
    • Getting started
    • Introduction video
      Welcome to OpenProject
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Professional support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?
      Create a new account

Side Menu

  • Overview
  • Roadmap
  • Work packages
  • News
  • Wiki
    • Table of contents
      • Hierarchy leafAI Tools for Development
      • Hierarchy leafDeployment To the Server(Modified)
      • Hierarchy leafHosting BTCPayServer in Linux server
      • Hierarchy leafHow to overcome bitbucket login problem (Windows)
      • Expanded. Click to collapseCollapsed. Click to showInstalling a project in Elintegro
        • Hierarchy leafPipeline setUp for Bitbucket
      • Expanded. Click to collapseCollapsed. Click to showInterview University
        • Expanded. Click to collapseCollapsed. Click to showDocker: Install an Elintegro App within Linux server
          • Hierarchy leafConnect to Docker of Omnipay
      • Expanded. Click to collapseCollapsed. Click to showKafka Installation Guide
        • Expanded. Click to collapseCollapsed. Click to showComparing Kafka with other topic technologies
          • Hierarchy leafDesign a messaging app, high level, using kafka
      • Hierarchy leafOpen Project
      • Hierarchy leafRebase with Development Branch
      • Hierarchy leafRemote Debugger with IntelliJ
      • Hierarchy leafTelegram API
      • Hierarchy leafUpgrading Elintegro apps to Grails 6
You are here:
  • Rebase with Development Branch

Content

Rebase with Development Branch

  • More
    • Table of contents

--Prepare

git add .

git commit --m "OMP-22-Purch-request <some text explanation"

After that do not run regular commit, just

git commit --amend --no-edit

git  push -f

git checkout development

git pull

-- back to our branch

git checkout OMP-22-Purch-request

-- REBASE:

git rebase origin/development

-- if there are conflicts, resolve them, and

git add .

-- !No commit or/and push please, instead:

git rebase --continue

git  push -f

--PULL REQUEST:

--Ready to create a pull request or refresh your pull request page if it already exists!

P.S application.groovy file is in .ignore not to be added/committed, since we need to change it, but sometimes we need to change it locally only.

To force to commit this file use the following command:

"It turns out that when adding a file to a repository you can force it to override .gitignore:

git add -f <filename>

or

git add --force <filename>
Loading...