Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » how to compare two LOCAL branch and then copy the content from one branch to another
how to compare two LOCAL branch and then copy the content from one branch to another [message #1863413] Wed, 31 January 2024 22:47 Go to next message
Eclipse UserFriend
I have two local branches (e.g. kei_dev, master), My work in kei_dev, now I switch my local branch from kei_dev to master. then how to copy my change from local branch kei_dev to master

1) selectively for each different
I find below screen, is this correct?

https://i.postimg.cc/vTDWjgpN/question20240201-2.jpg

2) whole file copy
I find below screen, but no menu for copy all change from local branch kei_dev to local master current workspace (not commit, just copy to my local workspace)
https://i.postimg.cc/LsfQC7z1/question20240201.png



Re: how to compare two LOCAL branch and then copy the content from one branch to another [message #1863467 is a reply to message #1863413] Sat, 03 February 2024 06:53 Go to previous message
Eclipse UserFriend
The git way to integrate changes from one branch to another one is
- merge if you want to ensure all changes are integrated
- cherry-pick to copy individual commits.
Previous Topic:Where to get the EGit/ JGit 5.13.3.202401111512-r update-site
Next Topic:Fetch via SSH, but keep connection open
Goto Forum:
  


Current Time: Sat May 17 18:38:08 EDT 2025

Powered by FUDForum. Page generated in 0.02856 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top