Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

How to automatically stage files.

A version ago the files that changed were staged automatically.  This is not so any more.

I also cannot find the checkbox next to "Unstaged files" mentioned for earlier versions.

Please assist me to autostage files.

3 answers

I had the same problem with SourceTree on a MacBook.

Solution : At the top of the bottom window(the one that displays the staged files) you will find a select drop down icon. Click this icon and select 'No staging'.

Problem solved.

This solved it. But now i don't see unstaged files.

In the "No staging" view, you simply skip that step. It will commit all changed files unless you stash them first.

1 vote
Ana Retamal Atlassian Team May 18, 2017

Hi! In SourceTree for Windows, files were not staged automatically, it was always a manual process. Maybe you are confused between the 'No Staging view' and the 'Split view' (where you can drag & drop files)? If you're in the current Windows version, you can use Shift+Ctrl+C to stage all unstaged files at once, is that the option you were looking for?

Regarding the checkboxes, there's a feature request to bring them back and you can find it at SRCTREEWIN-7260. You can vote for it, add a comment or watch it to receive further updates.

Hope this helps :)

Ana

Deleted user Dec 27, 2018

I have opposite problem, git will automatically mark files I add or modify as staged along with many many files from my solution I have not touched at all.  It will also show files I modified or added in Unstaged area.

This results into multiple problems:

  1. Files I have not even touched in any way are now showing as staged in SourceTree or on terminal as a reslult of git status
  2. Files I added or modified are now showing in both staged and unstaged area

I have a reverse problem. Every time I open a commit window, all the files are staged automatically and that's a big NO, because even conflicted files are staged and there's no way to resolve them using external app. How can I turn this off? This happens with v. 2.1.2.5 Win10 x64

Suggest an answer

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

[dev team] Sourcetree for Windows 2019 Preview - Dark Theme

Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going.  The ...

3,259 views 19 18
Join discussion

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