Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support drag and drop of files from staged/unstaged list #276
When staging files for a commit, in other git clients I have found it really useful to be able to drag files from the 'Unstaged/Staged Files' list to applications (e.g. Xcode) in the Dock. This often happens if I'm part way through a change, then need to make further changes to a particular file. Instead of needing to go into Xcode and find the relevant file again, I can drag it to the dock icon and be there straight away.
referenced this issue
May 21, 2018
Thanks @DanPristupov for implementing this. However, I've notice that if I drag a file that has some changes to the Xcode icon in the dock, it doesn't open the file in its original location. It seems to be opening a copy of the file from a temporary folder. See the screenshot below for where the file is loaded from.
Am I doing something wrong?