![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
文章平均质量分 76
中国lanwp
这个作者很懒,什么都没留下…
展开
-
git常用客户端sourcetree-tortoisegit
文章目录gittortoisegit介紹下载及安装tortoiseSVNSourcetree简介下载安装1.安装2.修改文件3.重新点击seourceTree.exe 安装, 弹框选择最后一项安装即可 git tortoisegit 免费git客户端 介紹 About TortoiseGit TortoiseGit is a Windows Shell Interface to Git and based on TortoiseSVN. It's open source and can fully be b原创 2021-03-04 13:04:18 · 410 阅读 · 1 评论 -
git常用命令-推送代码到多个库
文章目录git常用命令将本地库推到服务器上本地初始化库oschina建远程库将项目push到服务器git push同时推送到两个远程仓库方式一方式二常用命令 git常用命令 将本地库推到服务器上 这里使用oschina 开源中国为例子,gitlab github命令相同 本地初始化库 cd /xxx/project/ git init oschina建远程库 在界面上操作创建项目 https://gitee.com/lanwp/lwp-shell.git 将项目push到服务器 git remote a原创 2020-11-01 17:44:14 · 214 阅读 · 0 评论 -
svn迁移带日志到git
svn直接导出到git master中(推荐) svn_address git svn clone http://PATHTOSVN 有了这一步就可以在命令行像操作Git一样操作SVN了。如果对git-svn的命令不习惯,可以试试用工具。 # 关联远程git库 git remote add origin http://xxx/xxx.git # 推送代码到 git master分支 git push -u origin master 未跟踪历史处理 当前所在分支为master git pull orig原创 2020-09-29 17:43:03 · 905 阅读 · 0 评论 -
git上传项目到仓库
1.新建git库 直接通过命令行在目标git创建 repository create a new repository on the command line git init git add README.md git commit -m "first commit" git branch -M master git remote add origin http://xxx.xxx.xx/user/project.git git push -u origin master #拉取master代码 git原创 2020-09-26 00:50:17 · 89 阅读 · 0 评论 -
sourceTree 3.3.8免登录安装
一、sourceTree旧版本免登录 1.安装 点击安装程序安装sourceTree 2.修改文件 输入 %LocalAppData%\Atlassian\SourceTree\ , 在此目录下新建名为accounts.json文件, 写入一下内容 [ { "$id": "1", "$type": "SourceTree.Api.Host.Identity.Model.IdentityAccount, SourceTree.Api.Host.Identity", "Authe原创 2020-06-05 23:41:19 · 465 阅读 · 0 评论 -
git运行报错fatal: open /dev/null or dup failed: No such file or directory
git运行报错fatal: open /dev/null or dup failed: No such file or directory 问题现象: 1.win7、win10下 git运行出现 fatal: open /dev/null or dup failed: No such file or directory。 2.直接右击运行Git Bash 闪退 g解决方法: 1.C:\Window...原创 2020-02-12 08:44:10 · 275 阅读 · 2 评论