Skip to content

NishaLab/rebase-merge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 

Repository files navigation

rebase-merge

if master is 1,2,3 branch is 1245 using

** process

git rebase master (from branch); 1.#ctrl X - to out insert screen 2.#--fix conflict of commit 4 with master (1234). (b) 3.#git add. 4.#--git rebase -- continue 5.#--fix conflict of commit 5 with (b) 6.#git add . 7.#--git rebase --continue to insert commit 8.#--git push -f

** rebase will fix conflict each commit with master.

*** rename branch in local and remote

  1. local: #git branch -m old-name new-name vertify #git branch -a
  2. remote #git push origin :old-name new-name #git push origin HEAD (ddto push code to remote has same name ) (exmple: local thai ---> thai)

***merge many commit to one: orgin: https://hoangphiit.com/post/cach-gop-nhieu-commit-thanh-mot-voi-git-rebase 1.# image 2.# image 3. # image 4. # image 5. # image 6. # image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published