zhangzhikai397 / cplusplusproject Goto Github PK
View Code? Open in Web Editor NEWC++项目
C++项目
1、安装mingw-w64环境,
下载链接:http://mingw-w64.org/doku.php/download/mingw-builds
2、安装vscode工具
3、安装c++相关插件
(1)C/C++
(2)C/C++ Compile Run
C/C++ Complile Run 配置
(3)C/C++ GUN Global
(4)Code Runner
permission denied
Step01
我们在本地仓库能够正常的从远端仓库pull文件到本地仓库,但是我们从本地push问价难道远程仓库的时候报 ! [remote rejected] master -> master (permission denied)
详细错误如下图所示:
可以搜索相关的git凭证缓存
博客文章了解;
【参考博文】https://blog.csdn.net/qq_41311259/article/details/81255315
【参考博文】https://www.cnblogs.com/volnet/p/git-credentials.html
Step02
这是应该git配置文件里面已经缓存了上一个仓库的账户和密码,这样他会从目录 ·C:\Users\86136
下搜索 配置文件 .gitconfig,一般这个账户密码缓存在 .git-credentials
中;因此我们需要清空以前的缓存凭证。那么我们先使用命令 git config --list
命令查看配置里面是否配置了credential.helper
这一项,于是我在我的系统里面查到了:
Step03
那么我们需要将credential.helper
配置项删除掉,我们需要删除系统级(system)、全局级(--global)、用户级(--local)三个清空下的配置项;使用如下命令:
git config --system(--global/--local) --unset credential.helper
Step04
删除掉credential.helper
配置项之后,我们再使用 git push
命令的时候就找不到缓存的账户和密码了,这个时候系统就会提示我们输入github的账户和密码,输入完毕之后就可以正常的push文件到远程仓库了。
1、git pull 与git pull --rebase
MinGW(Minimalist GNU for Windows), 是一个适用于微软windows应用程序的极简开发环境。MinGW提供了一个完整的开源编程工具集,适用于原生MS-Windows应用程序的开发,并且不依赖于任何第三方C运行时DLL。MinGW主要供在MS-Windows平台上工作的开发人员使用,但也可跨平台使用,MinGW包括:
GCC的一个移植,包括C,C ++,ADA和FORTRAN编译器;
GNU Binutils (如:as, ld, ar等);
一个命令行安装程序,带有可选的GUI前端,(mingw-get)用于MS-Windows上的MinGW和MSYS部署;
一个GUI首次设置工具(mingw-get-setup),可以帮助启动并运行mingw-get。
Mingw-w64是原始mingw.org项目的升级版,该项目旨在支持Windows系统上的GCC编译器。 它在2007年进行了分支,以便为64位和新API提供支持。 从那以后,它得到了广泛的使用和分发。
作者:若梦儿
链接:https://www.jianshu.com/p/a6e0d1465491
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.