Aaron Gray <aaronngray.lists@xxxxxxxxxxxxxx> wrote: > Hi, > > I have a working git-svn clone of a svn based project. > > At the mement I have a .sh script run every hour which goes :- > > git svn fetch > git reset -- hard HEAD > git svn rebase > > I am sure this is like using a hammer to crack a nut. > > Is there a better way to do this ? Assuming you don't make your own local changes ever: git svn fetch git reset --hard $ref Where $ref is most likely "trunk" if you used -s/--stdlayout or "git-svn" if you did not. Running `git branch -r' will give you a list of remote refs that you can reset to. -- Eric Wong -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html