Search the Community
Showing results for tags 'undo'.
Found 2 results
As part of our automated build process, we want to undo all changes and delete all added files (ignored and hidden) before building so that we're starting from a completely clean changeset. We've experimented with various cm.exe options, but haven't found any combination that does what we're trying to do. As a workaround, we typically delete the entire directory (with rmdir /s /q) and check it back out, but occasionally the directory doesn't delete successfully; one of the background processes such as an antivirus or plasticscmshellextensionproxy.exe probably has lock on it. What's the preferred way to completely clean a changeset? Thanks in advance.
Hi everybody, I'm afraid I did a big mistake on one of my repo. I have a repo called "My_repo_A" which has a XLinked sub repo called "My_repo_A_shares". This sub repo "My_repo_A_shares" is synced with a repo on github. But tonight, after a hard work week, I synced by mistake the parent repo "My_repo_A" with the same repo on github. That resulted in a warning like "the branches have to be merged before being able to push with gitsync again ...". Hopefully there are no problems on github, but in plastic a lot of commits are duplicated with different guid, and branches have two heads ... So ... the winner is me ! I know ... but is there a way to cancel a gitsync ? Thanks a lot for your help.