超详细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中的用户名和密码

  • 7
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 5
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

会飞的鱼-blog

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值