Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is git mv in SourceTree?

I know you can move files. But what about renaming and moving whole directories?

like image 686
wnrph Avatar asked Jun 06 '12 14:06

wnrph


2 Answers

Actions menu, Move... option at the bottom of the dropdown. Alternatively, the command line git command always works.

like image 111
Mark Granoff Avatar answered Nov 20 '22 21:11

Mark Granoff


You can use the git mv command on the command line after which SourceTree correctly indicated the move. The SourceTree command line can be opened with the Terminal button.

There is no way currently to do this directly inside SourceTree unfortunately, at least for a folder.

like image 40
user2629843 Avatar answered Nov 20 '22 22:11

user2629843