# Alchemy 第四周上传github简单方法 **Published by:** [lingge-twitter@shangdu2005](https://paragraph.com/@lingge/) **Published on:** 2022-08-17 **URL:** https://paragraph.com/@lingge/alchemy-github ## Content 首先谢谢美女的教程,真的是用心了!人美做事耐心又认真,实在佩服! 没做的朋友按教程来就行! https://mirror.xyz/0xCD0e394639B2D0b159B41F9dBe0583C33d85e874/XlXqh697bnRkkmzb9jdC4rHOMpPI0KPe6FCBZANZdHU 第四周上传代码对于小白朋友有点麻烦,其实很简单,把自己现学的方法,分享给大家! 首先下载git软件,根据自己的电脑情况下载就行!下载好直接安装,全部默认!GitGit is easy to learn and has a tiny footprint with lightning fast performance. It outclasses SCM tools like Subversion, CVS, Perforce, and ClearCase with features like cheap local branching, convenient staging areas, and multiple workflows.https://git-scm.com安装好,点击cmd 并进入代码的文件夹cd nameoftheproject输入:git init输入:git add . (别忘后面的点)会自动检测到文件夹里面的所有文件输入git config --global user.email "这里填你自己的github账号邮箱"输入git commit -m "first nameoftheproject" 会打包好文件输入git branch -M main 输入git remote add origin https://github.com/你的账号/仓库名字.git最后输入git push -u origin main 应该是上传的意思 会弹出窗口,点击确定,然后进行连接!输入密码,就会上传成功最后看下github里面有这个上传的代码文件没,,显示就代表完成了!希望多多关注推特相互学习 ## Publication Information - [lingge-twitter@shangdu2005](https://paragraph.com/@lingge/): Publication homepage - [All Posts](https://paragraph.com/@lingge/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@lingge): Subscribe to updates - [Twitter](https://twitter.com/shangdu2005): Follow on Twitter