triotunes.blogg.se

Sourcetree wiki
Sourcetree wiki













sourcetree wiki

To do this, right-click on the local branch and select Push to > origin: If you manually create a local branch in this way, you will need to create a corresponding remote branch in the remote repository.Choose a name for your branch and click "Create branch".But, if you need to manually create your own branch in SourceTree, click the branch button Generally speaking, you should always create a new branch from a JIRA ticket. Now, you're ready to created your own branch.If you scroll back up, you should see your new staging branch under BRANCHES, and it should be checked out (in bold with the little dot next to it):.In the popup dialog, type in the local branch name, staging, and make sure "Local branch should track remote branch" is checked.Right-click on staging and select "Checkout origin/staging." Scroll down the list until you find staging.So, the first thing to do is setup a local staging branch to track origin/staging. And, your personal branch should be a branch from staging, not master. You have a local master branch, but this isn't the place to do your work: you need your own branch for that.To create a new branch, please refer to the documentation in Pushing Code. Tracking just means that if you push/pull from your local master branch, this will automatically push to/pull from origin/master.

sourcetree wiki

So, you have a local branch, master, setup to track the remote origin/master. The remote is known as origin, and the corresponding remote branch is known as origin/master. When you clone, SourceTree also creates a local master branch which is setup to "track" the remote master branch. You now have a copy of the entire indeni-knowledge remote repository (at this moment).Installation and first time setup of SourceTreeĭestination Path: A local folder on your filesystem















Sourcetree wiki