Changes between Version 11 and Version 12 of notes/git


Ignore:
Timestamp:
2020-12-09T13:04:31Z (4 years ago)
Author:
root
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • notes/git

    v11 v12  
    5454* `git pull --rebase origin master` - in not pushed branch with local only commits. if something already pushed to remote it will desynchronize local and remote sides. in this case use:
    5555* `git merge master` - merge master commits to selected branch
     56or
     57* `git rebase master` - rebase master commits to selected branch
    5658
    5759[[br]]
     
    7173 - merge all commits from source branch into the middle of target branch;
    7274 - create merge commit on top of target branch with all source commits as parents;
    73 - squash and merge (prefered):
     75- squash and merge:
    7476 - squash all source commits into single commit;
    7577 - add resulting commit on top of target branch;