newdevs:git:commands
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
newdevs:git:commands [2021/05/28 11:47] – tmccanna | newdevs:git:commands [2021/06/10 12:05] – [Squash Commits] tmccanna | ||
---|---|---|---|
Line 72: | Line 72: | ||
- Verify that you are in your local branch. | - Verify that you are in your local branch. | ||
- Type: git rebase -i origin/ | - Type: git rebase -i origin/ | ||
+ | * Alternatively if your branch is already built on current master, you can enter: git rebase -i HEAD~4 | ||
- Your text editor will open and should show both of the commits, for example: | - Your text editor will open and should show both of the commits, for example: | ||
* pick 014e59c579 LP#1839359 Select element on login not accessible | * pick 014e59c579 LP#1839359 Select element on login not accessible |
newdevs/git/commands.txt · Last modified: 2024/03/25 16:35 by tmccanna