==================================
=====================================
==================================
echo "# repo" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/JunfeiYang/Python_project.git // https需要输入密码
git remote add origin git@github.com:JunfeiYang/Python_project.git // ssh keys
git push -u origin master
git remote add origin https://github.com/JunfeiYang/Python_project.git
git push -u origin master
1.git config --global user.name "username"
2.git config --global user.email example@mail.com
3.git remote set-url origin git@github.com:username/Python_project
首先不能直接在本地按del键删除,这样对远端没有任何影响,必须使用git rm filename 命令删除,
其次,删除完之后,git commit -m “delete filename” 一下,最后 git push就OK了
=============================================
============================================
时光匆匆,一晃多年,记得这个项目当时提交 Python 代码还是 2015 年,使用的还是 python2, 现在 python3 已经 大行其道,都已经 3.10 。回首往事,虽然有进步,但是没有得到当初的样子。 不管怎样,不忘初心,不要迷失自己!!!
尚未佩妥剑,转眼便江湖。
愿历尽千帆,归来仍少年。