atlassian-sourcetree

Git is very slow on Mac / OSX

Deadly 提交于 2019-12-01 17:06:51
问题 Whenever I use anything Git related on my Macbook (Brand-new Macbook Pro with El Capitan), it takes almost a full minute for each command. I did a simple GIT_TRACE=1 git stash and got back this: 17:04:27.460826 git.c:557 trace: exec: 'git-stash' 17:04:27.463136 run-command.c:347 trace: run_command: 'git-stash' 17:04:32.503827 git.c:348 trace: built-in: git 'rev-parse' '--git-dir' 17:04:34.521223 git.c:348 trace: built-in: git 'rev-parse' '--show-toplevel' 17:04:35.527473 git.c:348 trace:

Cloning a git repo succeeds with the command line, but fails with a git GUI client (e.g. SourceTree)

不问归期 提交于 2019-12-01 13:15:45
I've set up a git user on a Mac OSX 10.7 system. In the git user's root, I've created a repositories folder and initialized a bare git repo named test . So far so good. Now, I clone the repo from a PC on the same network as the Mac with git clone git@mac:repositories/test.git This succeeds. I can then, push and pull from this repo. All looks good. But, when trying to do the same thing with Atlassian SourceTree - a GUI git client - this fails : This is not a valid source path / URL Anyone an idea what I might be doing wrong? In this case you do not need a user name so the "Source Path/URL"

Does Git generally choke on mounted drives? Or just Git GUI's?

孤街醉人 提交于 2019-12-01 04:28:32
I know I should be diehard and use git in the terminal, but I use a Git client on Mac called Sourcetree to make the whole thing just a bit more sexy. The problem is a new Synology NAS drive I've added to my setup. With one of the NAS shared folders mounted on my Mac, Sourcetree chokes when trying to stage/commit/push. My master branch is on GitHub, so I cloned a repo to the mounted drive using Sourcetree. As a quick test I edited an unimportant file, saved, and watched for unstaged changes in the client. Success so far; the edited file appears in the unstaged window of Sourcetree. I go to

source tree marks all file as modified

非 Y 不嫁゛ 提交于 2019-12-01 01:41:04
I started using sourceTree I have a problem when I change certain files, I noticed those are files from my views folder (MVC), sourceTree marks it as: Modified file, 1 lines changed, 1 lines removed and when I push it to my svn the whole file is marked as changed, as in: All the code from before my changes marked with '-' And then all the code from after my changes marked with '+' (also stuff I didnt touch) Any solutions? VonC Make sure that the config core.autocrlf is set to false, to avoid automatic eol (end of lines) conversion on all your files. git config --global core.autocrlf false (and

SourceTree GUI can't push, terminal can push

心已入冬 提交于 2019-12-01 01:18:57
问题 Following problem: When I commit things, I can't push them by clicking on the GUI push button I get this error message: git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin master:master Pushing to ssh://xxxxx@git.mydomain.de/srv/git/MyFolder/MyProject.git fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. When I copy the EXACT same command from this error message and klick on the "Terminal"

source tree marks all file as modified

两盒软妹~` 提交于 2019-11-30 20:19:47
问题 I started using sourceTree I have a problem when I change certain files, I noticed those are files from my views folder (MVC), sourceTree marks it as: Modified file, 1 lines changed, 1 lines removed and when I push it to my svn the whole file is marked as changed, as in: All the code from before my changes marked with '-' And then all the code from after my changes marked with '+' (also stuff I didnt touch) Any solutions? 回答1: Make sure that the config core.autocrlf is set to false, to avoid

Merge conflicts with project.pbxproj on Git - Xcode iOS

荒凉一梦 提交于 2019-11-30 19:50:15
Although I already read similar comments here, in this forum, I haven't found an approach that may be suitable for teamwork in a seamless way. If you know what I mean, you already may found tricky working with git and the project.pbxproj file in Xcode, even when you are working in a different file. Say, A developer: created Foo folder, adding foo.swift to the project. B developer: created Bar folder, adding bar.swift to the project. Different paths... but you know, conflict! And as you may also noticed, leaving project.pbxproj out is not an option. So my question is: How do you handle this in

SourceTree error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

旧城冷巷雨未停 提交于 2019-11-30 13:06:15
问题 I'm using SourceTree and try to clone from a general github repository, but I got this error: fatal: unable to access 'https://github.com/mfitzp/15-minute-apps.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Completed with errors, see above. How to solve it? 回答1: Check Tools > Options > Git in SourceTree, if you're using Use Embedded Git , you can see the git version is 1.9.5 which is old, latest version of git is 2.16.2 . So click Use System Git , if

How do I ignore all files in a folder with a Git repository in Sourcetree?

天涯浪子 提交于 2019-11-30 06:16:14
问题 I have a Bitbucket Git repository managed with Sourcetree. I have two folders that I want to commit, but I need to ignore all the files in these folders, because they contain only temporary files. How can I do that? 回答1: Add this to .gitignore: * !.gitignore 回答2: For Sourcetree users: If you want to ignore a specific folder, just select a file from this folder, right-click on it and do "Ignore...". You will have a pop-up menu where you can ignore "Ignore everything beneath: <YOUR UNWANTED

unable to get SSH keys working between sourcetree and github

蹲街弑〆低调 提交于 2019-11-30 04:35:47
I was able to create a key and connect to github following these instructions via the command prompt successfully: https://help.github.com/articles/generating-ssh-keys However, when I try to connect via Sourcetree and putty I cannot. I've tried: generating a new key with the putty key generator (SSH-2 RSA) entering a passphrase saving the private key saving the public key and adding a .pub extension copying/pasting the key from the putty key generator window into github attemping to refresh branches on a pull from my private github repository from my local repo using the SSH clone URL I got