evergreen-docs:github-workflow
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
evergreen-docs:github-workflow [2023/12/28 15:22] – aneiman | evergreen-docs:github-workflow [2023/12/28 15:54] (current) – aneiman | ||
---|---|---|---|
Line 31: | Line 31: | ||
- If more than one: '' | - If more than one: '' | ||
- The '' | - The '' | ||
- | | + | |
- | - Verify that you are in your local branch. | + | - From your local branch, |
- | - If your branch is already built on current main, you can use: '' | + | - 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 [COMMIT HASH 1] [COMMIT MESSAGE 1] | + | - '' |
- | - pick [COMMIT HASH 2] [COMMIT MESSAGE 2] | + | - Change the word '' |
- | - Change the word "pick" | + | - Check gitlog to ensure that you now have a single |
- | - squash --> | + | |
- | - fixup --> merges commits like squash does, but discards previous | + | |
- | - Push the commit again, and force it to overwrite the previous commits: | + | |
- | - '' | + | |
- Make any corrections (via additional commits, if needed) | - Make any corrections (via additional commits, if needed) | ||
- Use '' | - Use '' |
evergreen-docs/github-workflow.1703794938.txt.gz · Last modified: 2023/12/28 15:22 by aneiman