fqy131314

C++——程序员的逼格神器-github

github的重要性:

网络时代的程序员必备。

github的作用:

  1. 版本管理
  2. 多人协作
  3. 开源共享

常用方案:

git+TortoiseGit+github

[Tortoise,程序员常称其为小乌龟,小海龟]

 

安装配置步骤

1.注册

GitHub: Where the world builds software · GitHubGitHub is where over 83 million developers shape the future of software, together. Contribute to the open source community, manage your Git repositories, review code like a pro, track bugs and features, power your CI/CD and DevOps workflows, and secure code before you commit it.https://github.com/ 

使用邮箱: (例如:12345678@qq.com)

密码需要至少包含一位小写字母,至少七位

 在step2中,填写个人描述信息,可以直接点击submit.

2.在本地安装git

3.安装tortoisegit

4.配置git配置的账号

文件:.gitconf

[filter "lfs"]

        clean = git-lfs clean -- %f

        smudge = git-lfs smudge -- %f

        process = git-lfs filter-process

        required = true

[user]

        name = wwww

        email = linuxpzj@qq.com

蓝色字体为github账号的用户名、注册用的邮箱地址

5.在github创建仓库

6.把github的仓库clone【克隆】到本地

   本地目录一定要为空

7.在这个本地目录下, 创建vs项目。

8.commit【提交】到本地仓库

9.push【推】到github仓库

如果没有弹出框来输入密码, 这在git终端上输入:

git  credential-manager  uninstall

用来清除掉缓存在git中的用户名和密码

posted on   会飞的鱼-blog  阅读(9)  评论(0编辑  收藏  举报  

相关博文:
阅读排行:
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 使用C#创建一个MCP客户端
· ollama系列1:轻松3步本地部署deepseek,普通电脑可用
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· 按钮权限的设计及实现
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

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