查看“GitHub”的源代码
←
GitHub
跳到导航
跳到搜索
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
===GitHub Person=== *https://github.com/ldscfe *https://github.com/ldscf === 价格计划(免费版) === *Free **The basics for individuals and organizations *Unlimited public/private repositories **Host open source projects in public GitHub repositories, accessible via web or command line. Public repositories are accessible to anyone at GitHub.com. *2,000 automation minutes/month **Free for public repositories **Use execution minutes with GitHub Actions to automate your software development workflows. Write tasks and combine them to build, test, and deploy any code project on GitHub. *500MB of Packages storage **Free for public repositories **Host your own software packages or use them as dependencies in other projects. Both private and public hosting available. *New Issues & Projects (beta) **Community support **免费(个人)版支持无限个数的私有(或公有)仓库, 每月2000分钟的自动构建时长, 单仓库最大 500M. **查看详情: https://github.com/pricing **CI/CD,全称:持续集成 (Continuous Integration) ,持续部署 (Continuous Deployment) ,是开发流程的自动化利器 === Git === *当前机器中有 id_rsa *远程 github 中已加载 id_rsa.public(settings -> Access -> SSH &GPG keys) === INIT === *git init **在当前目录下建立 .git 目录 **clone 的目录在此目录下 git config --global user.name ldscfe git config --global user.email ldscfe@gmail.com git config --global color.ui true # git status等命令自动着色 # git config --list # 自动判断提交位置(clone多个库) git config --global push.default matching === Repository === # clone远程仓库 git clone git@github.com:ldscfe/pangolin.git git clone git@github.com:ldscfe/udefpy3.git git clone git@github.com:ldscfe/udefcp.git git clone git@github.com:ldscfe/python.git git clone git@github.com:ldscfe/cpp.git git clone git@github.com:ldscfe/uetl.git git clone git@github.com:ldscfe/shell.git git clone git@github.com:ldscfe/test_cpp.git # 刷新 git pull # 修改文件 git checkout README.md ... git commit -am "comment" git push # 增加文件 git add $FN # Creating remote repositories git remote add ldscfe_cpp git@github.com:ldscfe/cpp.git git remote add ldscfe_pangolin git@github.com:ldscfe/pangolin.git git remote add ldscfe_udefpy3 git@github.com:ldscfe/udefpy3.git #You can use the command git remote set-url to change a remote's URL. git remote set-url <REMOTE_URL> # Git Err ## fatal: Not a git repository (or any of the parent directories): .git git remote add 出现,未先 git init ## git pull ssh_exchange_identification: Connection closed by remote host fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. # 需要指定下推同步的项目 git config --global push.default matching [[分类:Develop]] [[分类:Doc]]
返回
GitHub
。
导航菜单
个人工具
登录
命名空间
页面
讨论
大陆简体
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
目录
文章分类
侧边栏
帮助
工具
链入页面
相关更改
特殊页面
页面信息