Git创建----远程仓库操作(GitHub版)

简介: git工具中粘贴是: shift + insert shift + insert shift + insert (★★)

git工具中粘贴是:    shift + insert shift + insert  shift + insert (★★)

把项目克隆到本地

2345_image_file_copy_142.jpg

把本地库推送到GitHub远程仓库

     先要在GitHub创建一个仓库

2345_image_file_copy_143.jpg

2345_image_file_copy_144.jpg

 创建成功

2345_image_file_copy_145.jpg

在推送的时候 有可能报  提示说没有.git这样一个目录

2345_image_file_copy_146.jpg

解决方法:在命令行 输入 git init  然后回车就好了

2345_image_file_copy_147.jpg

2345_image_file_copy_148.jpg

2345_image_file_copy_149.jpg


目录
相关文章
|
6天前
|
开发工具 git
Git项目如何配置,如何上传至GitHub。其详细步骤
Git项目如何配置,如何上传至GitHub。其详细步骤
10 0
|
14天前
|
网络安全 数据安全/隐私保护
解决git@github.com: Permission denied (publickey). fatal: Could not read from remote repository. Pleas
解决git@github.com: Permission denied (publickey). fatal: Could not read from remote repository. Pleas
|
15天前
|
存储 开发工具 git
|
15天前
|
开发工具 git 开发者
【专栏】探讨了 Git 中的 `git rebase` 操作,它用于重新应用提交到另一分支,改变历史顺序
【4月更文挑战第29天】本文探讨了 Git 中的 `git rebase` 操作,它用于重新应用提交到另一分支,改变历史顺序。与 `git merge` 不同,rebase 重写提交历史,提供简洁线性的历史记录。文章介绍了 rebase 的基本操作、应用场景,如整理提交历史、解决冲突和整合分支,并强调了使用注意事项,如避免在公共分支上操作。尽管 rebase 可以带来整洁的历史和冲突解决便利,但其潜在的风险和可能导致的历史混乱需谨慎对待。理解并恰当使用 `git rebase` 可以提升开发效率和代码质量。
|
16天前
|
开发工具 git
git上传和下拉远程仓库
git上传和下拉远程仓库
|
19天前
|
Linux 网络安全 开发工具
git初始化管理远程仓库
git初始化管理远程仓库
6 1
|
19天前
|
开发工具 数据安全/隐私保护 C++
vs2019中同步到github上的用户名错误_控制面板和vs的git全局设置重新登录
vs2019中同步到github上的用户名错误_控制面板和vs的git全局设置重新登录
17 0
|
20天前
|
开发工具 git
【git】如何删除git远程仓库上的文件
【git】如何删除git远程仓库上的文件
15 1
|
21天前
|
前端开发 JavaScript 网络安全
Git(3) 使用Github管理项目
Git(3) 使用Github管理项目
25 0
|
29天前
|
Linux 开发工具 git
还不会 Git 子模块操作?一文教你学会 git submodule 的增、删、改、查!
还不会 Git 子模块操作?一文教你学会 git submodule 的增、删、改、查!