Using Git / Source Tree

Source Tree Operationn

Merge Branch feature/INFOHM-570 into develop Branch with SourceTree

  • Check out develop Branch as current Branch: Repository -> Checkout -> Select Branch develop
  • Pick out a Commit to merge into your current Branch -> select Branch/Commit: feature/INFOHM-570
SourceTree: Status after Merge
Image source_tree_img4.jpg NOT Found

Reference:

Squash multiple Commits into a Single Commit

tdb

SourceTree: Status after Merge
Image source_tree_img2.jpg NOT Found

Reference:

Git Operations

Change Git User Name

$ git config --global user.name
DESKTOP-7V4CT9V\Helmut

$ git config --global user.name "Helmut"

$ git config --global user.name
Helmut

Merging Branches

  • Merging origin/devlop Branch with local branch feature/INFOHM-563
  • A Bugfix [ origin/fix/INFOHM-567 ] was branched from our develop Branch origin/devlop
  • Before Merge: Our local branch feature/INFOHM-563 already picked up 2 Commits from origin/devlop Branch
SourceTree: Status before Merge
Image git_merge_img1.jpg  NOT Found
IntelliJ IDE: VCS -> GIT -> Merge Changes
Image git_merge_img2.jpg  NOT Found
SourceTree: Status after Merge
Image git_merge_img3.jpg  NOT Found
  • A Bugfix Branch origin/fix/INFOHM-567 was merged into our develop Branch origin/develop
  • After Merge: Our local branch feature/INFOHM-563 has now picked up 4 Commits from origin/develop Branch