Changes between Version 11 and Version 12 of notes/git
- Timestamp:
- 2020-12-09T13:04:31Z (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
notes/git
v11 v12 54 54 * `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: 55 55 * `git merge master` - merge master commits to selected branch 56 or 57 * `git rebase master` - rebase master commits to selected branch 56 58 57 59 [[br]] … … 71 73 - merge all commits from source branch into the middle of target branch; 72 74 - create merge commit on top of target branch with all source commits as parents; 73 - squash and merge (prefered):75 - squash and merge: 74 76 - squash all source commits into single commit; 75 77 - add resulting commit on top of target branch;