GIT create a custom branch for dev (using Tortoise GIT)

Scenario:

Create a custom branch on GIT for dev, later to be pushed to main branch.

Solution:

  1. Fetch & Rebase your project
  2. Then switch to the branch(release) which you want to use as base for your custom branch.
  3. Stash save your changes.
  4. GIT Push branch from #2 to new remote branch example release-task
  5. Then switch to the branch from #4
  6. Stash Pop your changes
  7. Commit your changes
  8. Push your changes to #4

No comments:

Post a Comment

Move Github Sub Repository back to main repo

 -- delete .gitmodules git rm --cached MyProject/Core git commit -m 'Remove myproject_core submodule' rm -rf MyProject/Core git remo...