Welcome! Log In Create A New Profile


GitHub for Windows question

Posted by spaceman 
GitHub for Windows question
August 01, 2012 07:31PM
Can anyone tell me, click for click, how to revert to an older version of Slicer Dev using GitHub for windows. I've got the repository cloned, but just can seem to build an older version. Everytime I select an older version in the History, then click 'roll back to this commit' when I build it, it is the most recent version. I don't understand what I'm doing wrong.

Any help is greatly appreciated.
Re: GitHub for Windows question
August 07, 2012 06:11PM
Once you are fully sync'd it will display "In Sync" at the top.

To roll back to a previous commit, select the commit in the list on the right side with a left mouse click. In the main pane, click on "roll back to this commit".

On the right side it will now state "uncommited changes". Click on the "Show" button.

The main window will now have a bunch of files and state "Select all XXX files to be committed".

Right Click on that line and click "discard all changes".

You will now be back to that revision.

To go back to the latest, just click "sync" at the top.

-Rob A>
Re: GitHub for Windows question
August 08, 2012 06:58AM
That's fantasic RobA. Thanks a million, it works like a charm.... back... forward.... back. weeeeee smiling bouncing smiley

I've tried this from the command line but it doesn't seem to work
C:\dev\slic3r [(0f327ef...) +1 ~0 -0 !]> git pull git://github.com/alexrj/Slic3r.git/affaee415bc55b7605288579e1bbf88033591da6
fatal: remote error:
alexrj/Slic3r.git/affaee415bc55b7605288579e1bbf88033591da6 is not a valid repository name

I'm not sure of the syntax. Does anyone out there know how to write this?
Re: GitHub for Windows question
November 15, 2012 06:50AM
RobA Wrote:

> To go back to the latest, just click "sync" at the
> top.

Can you go back to the latest without connecting to an external repository?
I'd like to be able to go back without being online.
Sorry, only registered users may post in this forum.

Click here to login