sourcetree

git创建项目+Sourcetree操作分支

社会主义新天地 提交于 2020-02-07 13:21:35
1、新建项目 2、创建项目 3、新建分支 dev 4、创建分支 dev 5、确认创建dev分支 6、Sourcetree,克隆dev分支代码 7、Sourcetree,检出dev分支 8、Sourcetree,拉取dev分支 9、Sourcetree,推送dev分支 10、邀请成员加入项目 来源: CSDN 作者: 934353403 链接: https://blog.csdn.net/qq_40745143/article/details/103857882

sourcetree3.x的安装问题

故事扮演 提交于 2020-02-07 04:55:35
今天给同事们安装最新版sourcetree的时候,发现卡在注册问题上过不去了 当前版本是3.1.2,因为我自己很早就装过了,更新到最新版并没有问题 并且,有的同事能够正常注册通过,有的就卡住,无论是否FQ,怀疑跟操作系统或者浏览器有关? 网上也有类似的问题,解决方案是通过安装企业版: https://www.cnblogs.com/wswind/p/9921549.html 但我觉得还可以绕过这个问题,那就是先安装老版本, 1.老版本FQ注册没有问题; 2.不FQ,通过添加accounts.json的方式也可以绕过注册,路径:C:\Users\用户名\AppData\Local\Atlassian\SourceTree\ 这里提供一个2.5.5的版本: 链接: https://pan.baidu.com/s/1OkjBL4-TBOv4i04eTtEXlQ 提取码:i8cy 安装完成后,更新到最新版即可。 来源: https://www.cnblogs.com/gongziyiyi/p/10948522.html

how to pull remote branch in source tree

折月煮酒 提交于 2020-01-14 07:21:09
问题 I have repo in bitbucket. it has 2 branches master and Branch9_Artiflex but when I clone this repo to my local repo via source tree (clone-clone in source tree) i'm able to see only master branch. Create new branch Branch9_Artiflex on my local machine and pull all data from remote Branch9_Artiflex doesn't work because they have differnet history of commits source tree but my remote repo has 2 branches 回答1: Try git fetch . This would fetch any missed remote branch to local repository (assuming

sourcetree 及git版本工具使用

风格不统一 提交于 2020-01-08 19:54:23
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 1. 如何reset自己本地的修改? 选中指定的返回版本,右键菜单选择“reset to this commit”, 然后选择hard 模式。 2. 如何解决两个分支间的conflict? 1. merge develop 到feature,首先merge A 到 B,修改conflict,然后提交。 2. merge feature 到develop,首先merge develop到feature,解决conflict问题,然后pull request,merge feature 到 develop 经典git教程: http://git-scm.com/book/zh/v1 http://www.ruanyifeng.com/blog/2012/07/git.html git 架构 git会有两个仓库,一个是remote repository,再远程服务器上,一个是local repository git的三个区域: remote repo --------------- local repo ----------------- local work area git fetch 从remote repo 到 local repo git checkout : 从local repo 到 local

How can I see only changed lines in file with SmartGit?

谁都会走 提交于 2020-01-07 05:12:06
问题 I'm seeing full file with highlighted lines. But I want to see only changed lines as in SourceTree. SourceTree displays only changed lines and it very comfortable. I must not scroll all file to find changes. Can I tune SmartGit for it? Thanks. 回答1: SmartGit 17.1 supports this - it's called "Compact Change Display". 回答2: AFAIK this is not possible in SmartGit. But there are several ways to get to the changes quickly. You can use the arrow buttons on the right or its shortcuts F6 and SHIFT+F6.

可视化Git版本管理工具SourceTree的使用

ぐ巨炮叔叔 提交于 2019-12-25 22:32:48
最近去了新公司,发现公司使用的团队版本管理工具是SourceTree,本人一直是SVN的热衷粉,很少使用git,所以从头学习git及可视化客户端SourceTree的使用,本贴只针对新手,大牛可以无视。 前期准备: 首先要安装SourceTree客户端,根据教程一步一步来。 然后要去GitLab上注册自己的账号,并获取相关权限。 最后打开SourceTree,根据提示完成注册。 至此,准备工作完成,下面进入实操演练: 1. 去GitLab上,进入相关项目里,将URL复制下来。 2. Clone克隆:打开SourceTree,点击 克隆/新建 按钮,将项目的远程仓库地址写好,选中本地一个文件夹作为本地仓库,完成项目克隆。 3. Checkout检出:在分支这一栏会出现master,它对应的是远程仓库的master分支,不要动他,检出一个分支作为我们的个人分支。 4. 看看远程是否有团队开发的分支,可以将其检出,作为本地的开发分支,并追踪远程的团队开发分支。 5. Add添加缓存:在自己的分支上修改/添加,先进入 文件状态 中,会出现有变动的文件,将其添加进缓存中。 6. Commit提交:点击 提交 按钮,填写说明文字,确认提交。 7. Pull拉取,合并分支:这一步要将 个人分支 合并到 本地开发分支中,操作之前先确定本地开发分支是否最新,可以点击 获取 按钮查询,再点击 拉取

fatal: could not read Username for visualstudio.com Device not configured

為{幸葍}努か 提交于 2019-12-24 09:39:28
问题 I get this error when trying to push to my remote repo via sourcetree: Pushing to https://xxx.visualstudio.com/DefaultCollection/_git/xxx error: git-credential-sourcetree died of signal 5 fatal: could not read Username for 'https://xxx.visualstudio.com': Device not configured How do I configure this in sourcetree? I have a personal access token but I don't know how to give it to sourcetree. I'm on mac. 回答1: I am using VSTS and encountered this problem after upgrade sourcetree. I tried to use

Problems cloning projects with Cygwin's Git

我的未来我决定 提交于 2019-12-22 10:25:17
问题 When I try to clone projects using Cygwin's Git 2.7.0 I'm having some issues related to permissions. This is, every time I try running one of the cloned project's executables I'm getting the next error: Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item. If I instead use Cygwin's Git, the one included in Attlasian SourceTree, projects will be cloned "properly", and I won't be getting any issue. Below I list both Git's

Problems cloning projects with Cygwin's Git

回眸只為那壹抹淺笑 提交于 2019-12-22 10:18:27
问题 When I try to clone projects using Cygwin's Git 2.7.0 I'm having some issues related to permissions. This is, every time I try running one of the cloned project's executables I'm getting the next error: Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item. If I instead use Cygwin's Git, the one included in Attlasian SourceTree, projects will be cloned "properly", and I won't be getting any issue. Below I list both Git's

warning: templates not found /usr/local/git/share/git-core/templates

夙愿已清 提交于 2019-12-20 11:34:08
问题 I get this error warning: templates not found /usr/local/git/share/git-core/templates when I cloning repo in local repository this link, this link, and this link I tried this method and I just waiting more than 20 minutes but repo doesn't clone. I use source-tree and OS X El Capitan. How can I fix it? 回答1: Create a templates folder. In your case, it should be: mkdir /usr/local/git/share/git-core/templates 回答2: I was also getting same error warning: templates not found /usr/local/git/share/git