Git branch --delete and Git Squash -Effect on Appveyor

fcgleason's Avatar

fcgleason

23 Apr, 2019 07:43 PM

What is the effect on the Appveyor builds when this is done?

  1. I have many small commits in a branch "deploy-windows" and would like to squash them into one commit. It should reduce the number of appveyor builds, but will it?

  2. Or I could just create a new branch from "deploy-windows" and then delete "deploy-windows". Would that be ok?

  1. Support Staff 1 Posted by Owen McDonnell on 23 Apr, 2019 09:08 PM

    Owen McDonnell's Avatar

    Are you currently using skip directive in the commit messages?

  2. 2 Posted by fcgleason on 23 Apr, 2019 11:23 PM

    fcgleason's Avatar

    That is helpful to know, I needed appveyor to determine how appveyor worked and didnt with the changes.

    I think what I will do is git checkout -b [new branch] from the subject branch. Then squash it locally and push to remote.

    Then turn on appveyor for that new branch and turn off for the old branch.
    Then I can delete the old remote and local branch.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac