Sourcetree change password of existing account
I had to manually clear stored credentials by emptying those files on my Windows: %LocalAppData%\Atlassian\SourceTree\userhost %LocalAppData%\Atlassian\SourceTree\passwd Then restart SourceTree.
I had to manually clear stored credentials by emptying those files on my Windows: %LocalAppData%\Atlassian\SourceTree\userhost %LocalAppData%\Atlassian\SourceTree\passwd Then restart SourceTree.
First, set up the parent repo: Open your forked repo in SourceTree. Select Repository ➫ Repository Settings… in the menu (or press ⇧⌘,). In the Remotes pane, press Add. Enter any name you like (often upstream or master) and the URL / path to the parent repo. Press OK, then OK. Now, to update: Select … Read more
I found the answer here, it is a known bug for version 2.1.8+ The following steps fixed it for me: Tools > Options > Git > Update Embedded Git Also pushing with the command line works. EDIT Also adding @Latisha’s answer: 1. Do the above. 2. Close Sourcetree 3. Delete AppData\Local\Atlassian\SourceTree\passwd 4. Restart SourceTree
If you got authentication issues with the GIT console, you can try to switch your configuration to HTTPS and specify user & password with the following command : https://<username>:<password>@bitbucket.org/<username>/<repo>.git But careful: Coming back to this answer that I made a very long time ago, I want to give credits to @ChristopherPickslay for pointing out that … Read more
From SourceTree, click on Tools->Options. Then on the “General” tab, make sure to check the box to allow SourceTree to modify your Git config files. Then switch to the “Diff” tab. On the lower half, use the drop down to select the external program you want to use to do the diffs and merging. I’ve … Read more
You should also be able to solve this in git bash (click on “Terminal” button in the Source Tree UI). Type: git pull –tags If you have conflicting tags, you can include the -f option in the command to override the local conflicting tags with their remote versions. git pull –tags -f
You can list the tags on remote repository with ls-remote, and then check if it’s there. Supposing the remote reference name is origin in the following. git ls-remote –tags origin And you can list tags local with tag. git tag You can compare the results manually or in script.
Use ⌘ (OSX) or CTRL (Windows and Linux) and choose any two commits you like in log view. It does not matter what branch the commits belong to. As a result you will see something like… Displaying all changes between f03a18bf0370c62bb5fb5c6350589ad8def13aea and 4a4b176b852e7c8e83fffe94ea263042c59f0548 …down below.
Here are the steps to edit the commit message of a previous commit (which is not the most recent commit) using SourceTree for Windows version 1.5.2.0: Step 1 Select the commit immediately before the commit that you want to edit. For example, if I want to edit the commit with message “FOOBAR!” then I need … Read more
Right click on the commit you like to reset to (not the one you like to delete!) Select “Reset master to this commit” Select “Soft” reset. A soft reset will keep your local changes. Source: https://answers.atlassian.com/questions/153791/how-should-i-remove-push-commit-from-sourcetree Edit About git revert: This command creates a new commit which will undo other commits. E.g. if you have … Read more