Reputation: 31
I have two branches '465_final'(main branch) and 'final_ver2'
final_ver2 is the newest files I have.
I want to replace all new files in 'final_ver2' to main branch '465_final'
What command should i use to do that??
Upvotes: 0
Views: 36
Reputation: 157
I think you should try "git merge". Visit https://git-scm.com/docs/git-merge.
Firstly you should go the your main branch which is called 465_final, then you run this command:
- git checkout 465_final
- git merge final_ver2
Upvotes: 1
Reputation: 117
Before you merge commit all changes to final_ver2. Then after that switch to the main branch(465_final)
When at branch 465_final just run the following command
git merge final_ver2
Upvotes: 0