Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to add a hidden folder (with . prefix) to SourceTree?

I'm using Spacemacs on OS X. I want to add the folder .emacs.d to SourceTree since it's clone of a git repo. However I can't even locate any hidden folder from SourceTree -> File -> Open. Does that mean I'll have to rely on some other git interface?

like image 658
xji Avatar asked Apr 24 '15 02:04

xji


People also ask

How do I show hidden files in root directory?

First, browse to the directory you want to view. 2. Then, press Ctrl+h . If Ctrl+h doesn't work, click the View menu, then check the box to Show hidden files.

How do I list hidden file within a directory?

To show hidden files, you need to include the /a:h modifier in that command. So, dir /a:h C:your-folder will do the trick. CMD also has specific commands for showing directories and folders. /a:d shows all hidden directories, and /a shows hidden folders.


2 Answers

Found out that you can just drag the folder into "Repository Browser"

like image 132
xji Avatar answered Oct 12 '22 21:10

xji


Hidden folders are by default not shown in Finder. To view hidden folders and files in the Finder window that SourceTree opens use the MacOS keyboard shortcut ⌘ + Shift + ..

like image 26
jsjunnebo Avatar answered Oct 12 '22 22:10

jsjunnebo