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,560,644
Community Members
 
Community Events
185
Community Groups

Tip from the team: patch it up

Supported Platforms

  • macOS
  • Windows

You're in the middle of working on a big set of changes and would like your colleagues to take a look. There are various ways you might synchronize (you don't need to zip up your repo, stop!) but, at the end of the day, wouldn't it be nice if you could pack up a select set of changes and send them to the team?

Summarize your work

If you're in the middle of working on something you just save that work locally and sharing it works in a similar manner. You create a patch from the "working copy" (the repository's top level directory) and it will write those out into an appropriate file.

create_wc_mac.gifcreatepatch_workingcopy.gif

Another option there is to select single or multiple commits with options for how it's saved. Increasing the granularity makes applying a larger set of changes (known as diffs) easier.

create_commit_mac.gifcreatepatch_commit.gif

Now you've got a permanent copy of your changes to share or even just save for later use.

Try before you buy

If you've been asked to review a change you likely received some text files. Using these in your working copy is equally easy - just go to the Actions menu, choose "Apply Patch…" and set things up like below.

 apply_file_mac.gifapplypatch_fromfile.gif

Sometimes it's a small change though and they sent it as a message in Stride instead of saving a patch. Not a problem! You can also apply from raw text because that's the equivalent of what a patch contains. Select that instead and a few clicks later you'll be good to go with a patched up local repository. (macOS only currently)

 apply_text_mac.gif

When you're done you're a simple "Discard…" → "Reset All" away from returning to where you were and the changes are still safe, waiting to be applied and committed whenever someone is ready. 

Do you have your own patching strategy with Sourcetree? Feel free to comment below!

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events