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

Auto-Stage Files?

Ryan Craig December 23, 2014

Hi all!

Is it possible to automatically stage files (i.e. when I click "Commit", certain files, like all those changed), get selected automatically so that I don't need to manually select them every time I make a commit?

2 answers

0 votes
Balázs Szakmáry
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 2, 2015

You can achieve this by writing a (local) Git hook which stages the files.

0 votes
Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 24, 2014

No, but if you click the checkbox next to "Unstaged files" (in the latest versions of SourceTree), everything will get staged.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events