Jump to content

Reset branch and view branch changesets via command line


AdamH

Recommended Posts

Hi all,

 

I'm new to using plastic and have come from a background of git.  

 

I have a couple of questions.  

 

1- How do I reset a branch to a given changeset via command line?  E.g if the changesets are  0<-1<-2<-3<-4 and I want the branch to go back to the exact state it was in at changeset 2 and continue working from there.  I'm happy with either 0<-1<-2<-3<-4<-5 with 5 being a duplicate of 2 or deleting the change sets so the branch looks like 0<-1<-2.  I'd prefer the first option though.  

 

2- How do I view which changesets are apart of the current branch (or a specified branch) on the command line?  Basically what I'd like is the output from cm log but for a specific branch.  

 

Thanks in advance!

 

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...