简体   繁体   中英

How do you push and commit to git directly from VS code

安装了 gitbash 我认为应该可以从 VS 代码界面提交

If you launch VSCode while git is in your PATH (%PATH% on Windows, $PATH onLinux/Mac), then the Version Control feature will be active, and you will be able to commit/push when working in a folder with a .git/ subfolder inside (one created by git clone , or initialized with git init )

I like adding GitLens for more git-related features, making the push even easier.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM