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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,551,670
Community Members
 
Community Events
184
Community Groups

Stage/Commit same change across multiple files

Edited

I have a repeated functioned across 90 files, sometimes they are in the exact same line number and spacing aswell.
I made a change the the function that applies to all 90 files. But now i have to go through each file 1 by 1 and stage the change. This wouldnt be a problem if there were no other changes in the files as i could just stage all. but since there were uncommited changes i dont want to commit randomly.
Is there a way to commit/stage the same change across multiple files?

(using windows)

Untitled.png

1 answer

0 votes
bgannin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 16, 2019

Hi @ta946,

There isn't a way to stage similar changes across multiple files in Sourcetree via the UI. You might be able to whip up a CLI script if the task is too tedious or you find yourself doing it more than every great once in a while.

Brian Ganninger
Principal Developer, Sourcetree

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events