Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How do I copy a file in history view?

saschamayr December 22, 2020

My use case:

I am browsing through the history, looking at an individual commit and I want to copy one (or perhaps even many) file/s as you would in Finder via the context menu.

I do this quite frequently as I need files from repository A copied into repository B or also when I want to "revive" a file from an old commit and git operations would be more complicated than simply re-creating the file by hand.

The closest I can get to that is to create the file myself and then mark all lines of "File contents" and CMD+C or "Copy" via the context menu.

I haven't found a feature request for this yet and if feature requests belong somewhere else please point me to that location. Also, I am aware of custom actions and this could probably be done via a custom action + shortcut, but it would just feel very intuitive if this would be integrated by default in SourceTree.

0 answers

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events