
代码管理
文章平均质量分 50
xgjj68163
java 开发
展开
-
git 忽略本地文件修改,pull拉取不被覆盖
设置忽略跟踪:(即可实现忽略本地文件修改,pull拉取不被覆盖)git update-index --assume-unchanged /path/file #设置忽略跟踪如果想恢复文件跟踪:git update-index --no-assume-unchanged /path/to/file #恢复跟踪Git设置文件或目录忽略跟踪的三种方式 - panhongwei66 - 博客园 (cnblogs.com)...原创 2022-05-06 18:02:30 · 3810 阅读 · 0 评论 -
docker maven私服搭建
使用Nexus搭建Maven私服 - 张龙豪 - 博客园 (cnblogs.com)https://www.cnblogs.com/knowledgesea/p/11190579.html(6条消息) 使用docker 安装Nexus搭建Maven私服教程 2020-09-03_与时代同行 liwei-优快云博客_docker安装nexushttps://blog.youkuaiyun.com/linpxing1/article/details/108378323...原创 2021-10-25 11:40:16 · 109 阅读 · 0 评论 -
dependencyManagement与dependency及scope
scope默认值为compile原创 2021-02-26 14:48:44 · 562 阅读 · 0 评论 -
git tag
Listing Your TagsListing the existing tags in Git is straightforward. Just typegit tag(with optional-lor--list):$ git tagv1.0v2.0You can also search for tags that match a particular pattern. The Git source repo, for instance, contains more th...原创 2020-12-23 16:06:21 · 303 阅读 · 0 评论 -
maven打包源码及jar到私有仓库、依赖本地jar
<plugin> <artifactId>maven-source-plugin</artifactId> <configuration> <attach>true</attach> </configuration> <executions> .原创 2020-12-03 11:41:56 · 2375 阅读 · 0 评论 -
maven settings配置
<?xml version="1.0" encoding="UTF-8"?><settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apac...原创 2020-12-03 10:18:38 · 3714 阅读 · 0 评论 -
git分支
新建与合并:https://git-scm.com/book/zh/v2/Git-%E5%88%86%E6%94%AF-%E5%88%86%E6%94%AF%E7%9A%84%E6%96%B0%E5%BB%BA%E4%B8%8E%E5%90%88%E5%B9%B6;分支简介:https://git-scm.com/book/zh/v2/Git-%E5%88%86%E6%94%AF-%E5%88%86%E6%94%AF%E7%AE%80%E4%BB%8B转载 2020-10-29 14:15:15 · 137 阅读 · 0 评论 -
Intellj Idea 第一版git代码和已有空git仓库关联
1.enalbe Vesion Control2.选择git3.配置远端仓库url4.git bash here;git pull origin master --allow-unrelated-histories原创 2020-04-02 15:06:42 · 280 阅读 · 0 评论 -
linux svn迁移到windows过程,windows图形化svn管理工具VisualSVN Server
1.官网下载VISUALSVNSERVER并安装,是windows svn管理工具,VisualSVN-Server-3.9.2-x64.msihttps://www.visualsvn.com/server/2.linux的svn是apache+subvision的方式。目录结构:conf、db、hooks、locks、dav3.右击visualsvn Server顶级目录,选...原创 2020-03-05 15:29:14 · 637 阅读 · 0 评论 -
maven公共仓库地址
查询下载地址:https://mvnrepository.com/maven配置文件地址:1.https://repo1.maven.org/maven2/;2.http://maven.aliyun.com/nexus/content/groups/public;原创 2020-02-26 11:49:05 · 5238 阅读 · 0 评论 -
注册windows服务命令
sc create tomcat_8080 binPath= D:/server.bat start= autosc create gitblit1.8.0 binPath=E:/using-tools/gitblit-1.8.0/gitblit.cmd start= auto(注意等号后面必须有空格)原创 2019-11-18 14:24:49 · 1380 阅读 · 0 评论 -
git学习笔记
查看所有分支,包括本地分支和远程分支:git branch -a;上传本地分支到远程分支:git push mis-rest-origin master:master;①无法push进入客户端工程路径,找到.git/config,添加如下内容:[remote "origin"] url =git@ip:/gitsvn/sv...原创 2017-02-27 14:00:48 · 238 阅读 · 0 评论 -
git和svn 区别
https://blog.youkuaiyun.com/hellow__world/article/details/72529022http://www.ttlsa.com/svn/five-basic-difference-between-git-and-svn/转载 2018-07-31 11:23:53 · 142 阅读 · 0 评论 -
svnadmin
https://blog.youkuaiyun.com/zsg88/article/details/75269411转载 2019-01-30 13:42:52 · 161 阅读 · 0 评论 -
win7搭建git服务器
https://blog.youkuaiyun.com/baidu_41647119/article/details/80984581https://cloud.tencent.com/developer/news/225480service改为server,但配置没有生效一、Git软件选择Git服务端若用官方的版本,功能太单一,而且只能在linux下搭建(windows下很麻烦,主要是s...转载 2019-02-14 13:44:45 · 1972 阅读 · 0 评论 -
linux 搭建git服务器
1.下载安装githttps://mirrors.edge.kernel.org/pub/software/scm/git/https://www.kernel.org/pub/software/scm/git/git-2.12.0.tar.gz使用git --version查看是否安装成功;添加用户useradd git -d +默认路径;注:如果安装路径非默认安装路径 如...原创 2017-03-09 16:51:49 · 361 阅读 · 0 评论