It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can you not stage parts of a file without using the staging view? Edited

Context: I don't like using the staging views in SourceTree.

Screen Shot 2018-04-02 at 5.56.27 PM.png

^^ I prefer the "no staging" view above.

In a large project with many directories SourceTree bounces around the tree structure at seemingly random moments, and opens directories we have already closed, moves me up and down the scroller (a whole other issue). This all makes navigating a list of complex changes a pain. But with "no staging" selected it's a breeze.

/context

What's driven me to write you all is advice about how to stage select lines or hunks from a document... whenever I click "stage hunk" it switches back to only staging the hunk of the file and all other files selected for committing go unchecked. So I have to eyeball the list of changes all over again.

Then... when I highlight lines with the staging view off there's the below ugly* error: 

Screen Shot 2018-04-02 at 5.54.11 PM.png

*I'll give you this. I'm not a git wizard and I really struggle when I'm not in some kind of GUI. So thanks SourceTree for making my life bearable. But I know you could make it fantastic!

1 answer

0 votes
bgannin Atlassian Team Apr 04, 2018

Unfortunately the "no staging" view is optimized for working with entire files as you've found out. Once you stage a portion of a file then it needs to be displayed much differently. The current solution is to switch to a staging mode and re-use the existing functionality.

Even while writing this I can imagine several different options that might improve the experience but for now the best course of action is to file a ticket with your notes at https://jira.atlassian.com/browse/SRCTREE

Brian Ganninger
Senior Mac Developer, Sourcetree

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,902 views 0 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you