Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,374
Community Members
 
Community Events
168
Community Groups

How do I copy a file in history view?

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
TAGS

Atlassian Community Events