随笔分类 - git
摘要:build-job: tags: - c++ stage: build script: - 'setlocal' - 'chcp 65001' - 'del /s /q Server\*.pdb || (call) ' - 'del /s /q Server\Log\*.* || cd . ' -
阅读全文
摘要:#!/bin/bash # project_id, find it here: https://gitlab.com/[organization name]/[repository name]/edit inside the "General project settings" tab projec
阅读全文
摘要:生成一个authors.txt文件。这将包含您的SVN用户和Gitlab用户之间的映射: 可以跳过 从现有的svn存储库中: svn log -q | awk -F '|' '/^r/ {sub("^ ", "", $2); sub(" $", "", $2); print $2" = "$2" <
阅读全文
摘要:git rm --cached *.xxx
阅读全文
摘要:删除旧版本 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
阅读全文
摘要:git config --global credential.helper store git credential-store store protocol=http host=10.24.21.1 username=xxx password=xxx 参考: https://unix.stacke
阅读全文
摘要:环境 centos 7 dotnet core 2.1.4 错误信息: libgit2-xxxxxxx: cannot open shared object file: No such file or directory 原因: 找不到动态库 libgit2-xxxxxxx.so libgit2-x
阅读全文
摘要:$ git checkout <another-branch> <path-to-file> [<one-more-file> ...] $ git status $ git commit -m "'Merge' specific file from '<another-branch>'" 参考:
阅读全文
摘要:1 丢弃本地变更 重置为远端分支内容 git reset --hard origin/branchName 如 git reset --hard origin/F_AssetItem
阅读全文
摘要:1 忽略路径超长 git config --system core.longpaths true 2 比较全的gitignore https://www.gitignore.io/api/vim,node,java,linux,macos,emacs,nanoc,eclipse,windows,ja
阅读全文