随笔分类 -  git

摘要:build-job: tags: - c++ stage: build script: - 'setlocal' - 'chcp 65001' - 'del /s /q Server\*.pdb || (call) ' - 'del /s /q Server\Log\*.* || cd . ' - 阅读全文
posted @ 2022-09-22 10:27 wolbo 阅读(65) 评论(0) 推荐(0) 编辑
摘要:#!/bin/bash # project_id, find it here: https://gitlab.com/[organization name]/[repository name]/edit inside the "General project settings" tab projec 阅读全文
posted @ 2021-06-15 15:15 wolbo 阅读(1188) 评论(0) 推荐(0) 编辑
摘要:生成一个authors.txt文件。这将包含您的SVN用户和Gitlab用户之间的映射: 可以跳过 从现有的svn存储库中: svn log -q | awk -F '|' '/^r/ {sub("^ ", "", $2); sub(" $", "", $2); print $2" = "$2" < 阅读全文
posted @ 2021-05-25 19:54 wolbo 阅读(215) 评论(1) 推荐(2) 编辑
摘要:git rm --cached *.xxx 阅读全文
posted @ 2020-09-30 23:41 wolbo 阅读(72) 评论(0) 推荐(0) 编辑
摘要:删除旧版本 sudo yum remove git* 添加repo并安装 sudo yum -y install https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.7-1.x86_64.rpm sudo yum -y ins 阅读全文
posted @ 2020-04-22 09:58 wolbo 阅读(894) 评论(0) 推荐(0) 编辑
摘要:git config --global credential.helper store git credential-store store protocol=http host=10.24.21.1 username=xxx password=xxx 参考: https://unix.stacke 阅读全文
posted @ 2020-01-10 15:05 wolbo 阅读(581) 评论(0) 推荐(0) 编辑
摘要:环境 centos 7 dotnet core 2.1.4 错误信息: libgit2-xxxxxxx: cannot open shared object file: No such file or directory 原因: 找不到动态库 libgit2-xxxxxxx.so libgit2-x 阅读全文
posted @ 2020-01-10 11:26 wolbo 阅读(246) 评论(0) 推荐(0) 编辑
摘要:$ git checkout <another-branch> <path-to-file> [<one-more-file> ...] $ git status $ git commit -m "'Merge' specific file from '<another-branch>'" 参考: 阅读全文
posted @ 2019-12-03 21:24 wolbo 阅读(1198) 评论(0) 推荐(0) 编辑
摘要:1 丢弃本地变更 重置为远端分支内容 git reset --hard origin/branchName 如 git reset --hard origin/F_AssetItem 阅读全文
posted @ 2019-10-21 19:41 wolbo 阅读(11736) 评论(0) 推荐(0) 编辑
摘要:1 忽略路径超长 git config --system core.longpaths true 2 比较全的gitignore https://www.gitignore.io/api/vim,node,java,linux,macos,emacs,nanoc,eclipse,windows,ja 阅读全文
posted @ 2019-10-16 14:33 wolbo 阅读(931) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示