atlassian-sourcetree

Issue with SourceTree while cloning a GitHub repository

亡梦爱人 提交于 2019-12-09 14:30:58
问题 I know that similar question is already posted here, however I think that my scenario is a bit different. Here is what I have. I downloaded and installed the latest official version of the SourceTree software. Also, I have GitHub account with permissions to clone and push the repository. In order to manage a local copy I need to clone the on-line version. Here are the steps that I take: Start the SourceTree and navigate to File -> Clone / New ... In the opened window I paste the HTTPS clone

SourceTree and Git Flow repository init

狂风中的少年 提交于 2019-12-08 17:35:30
sh.exe C:\Users\username\AppData\Local\Atlassian\SourceTree\gitflow_local\gitflow\git-flow init -d flags:WARN -d -- C:\Program Files (x86)\Atlassian\SourceTree\tools\getopt.exe: invalid option -- flags:FATAL unable to parse provided options with getopt. I contacted github account, and want to "Git Flow" and it shows a message like above. There was a similar issue reported at Atlassian : It appears though that the issue was a faulty git flow installation prior to the SourceTree install. I removed all git flow installation data and reinstalled SourceTree (after removing all SourceTree data as

Cannot open FETCH_HEAD after renaming a branch

早过忘川 提交于 2019-12-08 14:14:19
After having renaming the 'master' branch (using Sourcetree), I can't fetch anymore the changes done in the remote repository. I get the error: error: cannot open .git/FETCH_HEAD: Permission denied When I open this file, I see that the referenced branch is still set toward branch 'master' . Taking a look at the remote repository, I saw that a branch with named 'master' still exists, in addition to the renamed branch where I merged my last changes. I think there have got a problem somewhere and the renaming was not replicated correctly in the remote repository. I have tried to manually edit the

SourceTree and Git Flow repository init

自作多情 提交于 2019-12-08 06:49:30
问题 sh.exe C:\Users\username\AppData\Local\Atlassian\SourceTree\gitflow_local\gitflow\git-flow init -d flags:WARN -d -- C:\Program Files (x86)\Atlassian\SourceTree\tools\getopt.exe: invalid option -- flags:FATAL unable to parse provided options with getopt. I contacted github account, and want to "Git Flow" and it shows a message like above. 回答1: There was a similar issue reported at Atlassian: It appears though that the issue was a faulty git flow installation prior to the SourceTree install. I

Cannot open FETCH_HEAD after renaming a branch

社会主义新天地 提交于 2019-12-08 03:33:17
问题 After having renaming the 'master' branch (using Sourcetree), I can't fetch anymore the changes done in the remote repository. I get the error: error: cannot open .git/FETCH_HEAD: Permission denied When I open this file, I see that the referenced branch is still set toward branch 'master' . Taking a look at the remote repository, I saw that a branch with named 'master' still exists, in addition to the renamed branch where I merged my last changes. I think there have got a problem somewhere

Git commit signing GPG issue

痴心易碎 提交于 2019-12-08 01:08:11
问题 I am having the following issue when I am trying to create a commit using Git Extensions and SourceTree "C:\Program Files\Git\bin\git.exe" commit -F "C:\Code\XXX\.git\COMMITMESSAGE" gpg: keyblock resource 'C:/Code/XXX/%appdata%/gnupg/pubring.kbx': No such file or directory gpg: skipped "ZZZZZZZZZZ": No secret key gpg: signing failed: No secret key error: gpg failed to sign the data fatal: failed to write commit object Done My pubring.kbx exists in my %appdata% directory but why is it

Git submodule - How to keep the submodule updated when pulling from the main repo

喜夏-厌秋 提交于 2019-12-07 20:16:54
问题 We have the main git repository and one single git submodule. For this question, the main repository does only have a master branch, and the submodule does have two branches - X and Y . Let's say Coder A just switched to submodule branch X and applied some small changes. Coder B it's on submodule branch Y . Now A pushes to the remote and B pulls - then it does not seem like B 's active submodule commit (on their local machine) gets automatically changed to the commit that A pushed on branch X

source tree shows loads of files changed when soapUI saves the project

北战南征 提交于 2019-12-07 18:58:47
问题 I am working in the SoapUI(ReadyAPI 1.3.x) composite project hosted in bitbucket. For the code management I use SourceTree. When ever I pulled a new project and plug it in to soapUI, the first time the project gets saved, the source tree shows as allmost all the files chaged. When I look at the file changes, I don't see a visible content change. Ex: [1] I have few image files in my test suite, the source tree shows the files are removed and added back to the same location (Basically they show

How to solve the requested URL returned error: 403 in git repository

被刻印的时光 ゝ 提交于 2019-12-07 03:35:43
问题 I have multiple accounts in git I committed code three weeks back with this account. I'll unable to pull my code . I was getting The requested URL returned error: 403 I'll try Pushing to Git returning Error Code 403 fatal: HTTP request failed but I couldn't solved my error git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin remote: Forbidden fatal: unable to access 'https://chantidurgam@bitbucket.org/chantidurgam/patanjali.git/': The requested URL returned error: 403

Can i set up SourceTree as external tool in Visual Studio to view log for current file?

混江龙づ霸主 提交于 2019-12-07 02:32:24
问题 When right clicking a file in the SourceTree log I can choose "Log selected..." and get a log view for that specific file. Is there any way I could set up SourceTree as an External Tool in Visual Studio and pass it $(ItemPath) to have it open that log view for the current file. I'd like a way to to view the log for a specific file without having to find the file in a commit first. If possible I'd like to also set up the "Blame selected..." option from sourcetree as an external tool for the