Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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.

It works.

Tks

1 vote
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
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
AUG Leaders

Atlassian Community Events