ttt.png
Hi, I'm a beginner using SourceTree.
I have two questions.
1) Like the picture above, I selected multiple files (suppose 20 files) at the directory.
How can I upload those selected 20 files at the staging area, by not clicking the checkbox 20 times?
2) My directory is mixed up with files.
For instance, this directory has .md, .png, .h, and .c files in it.
However, I want to see or sort only the .h and .c files at the unstaged files sections.
How can I do it?
1) If you go into "split view staging" mode, you can select multiple files (control-click or command-click or shift-click) and drag them to the staged area.
Screen Shot 2016-01-25 at 9.33.54 AM.png
Screen Shot 2016-01-25 at 9.34.05 AM.png
2) If you'll never want to see the other extensions (and they haven't been added to the repo), you can add them to your .gitignore list (or right-click in SourceTree and select "ignore" which will do that for you).
You could filter a list temporarily using the search functionality (upper right) - but I don't see a way to search for two patterns at the same time
Thanks for your answer.
I use SourceTree 1.7.0.32509 at Windows 10 (32 bit) with Git 2.7.0.
The ignore part was fine.
After changing to split view staging, however, I selected a folder that has .c and .h files and
it shown an error. Unfortunately, I didn't write down the error.
I thought it wasn't a big deal so I just closed the error message.
After closing and rerunning SorceTree, it became frozen (grey window showing not responding).
I removed SorceTree and installed it again, but it kept freezes.
This is kind of out of topic from my original question but can you give me some help?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm afraid I don't have any insight into that one. You can try reposting it here as a new question to get more eyes on it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.