visual studio code与github结合进行代码学习
1.初始化工程目录codestudy,visual studio code 打开工程目录,cmd命令行下切换到该目录下,执行命令:
git init
2. github中创建repositoy
3.本地工程与github中的repository建立关联
git remote add origin https://github.com/Famaqq/codestudy.git
4.建立关联后再执行命令
git pull origin master
5.修改文件,提交改动
通过Visual studio Code编写helloworld.java并保存至本地codestudy目录/文件夹下面