Skip to content

个人关于C++每日练习代码和语法的仓库

License

Notifications You must be signed in to change notification settings

zhangweiweicpp/C-

Repository files navigation

[TOC]

Description

个人关于C++每日练习代码和语法的仓库

Reference


github每日提交流程

click
git config --global user.name "zhangweiweicpp"  

git config --global user.email "[email protected]"  
---可选--添加公钥到github
ssh-keygen -t rsa -C ‘上面的邮箱’  
vim ~/.ssh
ssh -T [email protected]  
git remote set-url origin [email protected]:zhangweiweicpp/remote_image_process_script.git
---

git init  

第一次,后面再次提交时该步骤非必要  

git clone <GitHub仓库的URL>  

cd <本地仓库目录>  

git checkout -b <分支名>  

git pull origin <目标分支名>  

#添加修改的文件到暂存区  

git add .  

git commit -m "Merge"  

解决冲突  

git commit -m "Commit message"  

**将会推送本地主分支的更新到远程主分支。确保你当前位于正确的分支上,推送你的更改到远程仓库的 main 分支  

git push origin <本地分支名>:<远程分支名> 

About

个人关于C++每日练习代码和语法的仓库

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published