Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

update files

Waleed Khattab October 17, 2018

Hello , 
I have " project A" and "Project B",
Project B it's copy from Project A (migrate A to B), Project A always Updating and project B Updating also but from different team ,
So , my problem is when i want Apply the update from Project A to Project B 
Without effect on Project B updated code .

Any solution ? 

1 answer

0 votes
minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 22, 2018

Hi

If I understand correctly, you want to pull some changes from Project A into your Project B but without that change being permanent?

If so I think I would either

  • Create a patch of the required code in Project A and apply it to a local copy of project B

Or

  • Add Project A's remote to my local copy of Project B and cherry pick the commits I wanted from A branches into B

Then when finished simply reset my local copy of project B to match the project B remote, something like this:

git fetch ProjectB
git reset --hard ProjectB/master

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events