欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

Visual Studio Code(vscode) git的使用教程

 更新時(shí)間:2017年11月10日 10:18:04   作者:Harry_tree  
這篇文章主要介紹了詳解Visual Studio Code(vscode) git的使用,小編覺得挺不錯的,現(xiàn)在分享給大家,也給大家做個參考。一起跟隨小編過來看看吧

本文介紹了Visual Studio Code(vscode) git的使用,分享給大家,具體如下:

1.創(chuàng)建一個github賬號

 

2.在vscode中執(zhí)行命令

echo "# C-Tests" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/harryluo163/C-Tests.git
git push -u origin master

執(zhí)行時(shí)候會讓你屬于賬戶密碼,vscode

先按照提示去下載git

1.安裝

Git:

sudo apt-get install git

全局配置

git config --global user.name "YourName"
git config --global user.email YourName@gmail.com

查看配置

git config user.name
git config user.email


git config --list

或查看一下文件

~/.gitconfig

3.回到vs code打開git工作區(qū)就會看到所有代碼顯示在這里

4.然后按提示隨便在消息框里輸入一個消息,再按ctrl+enter提交

5.然后把所有暫存的代碼push云端

 

6.打開github,發(fā)生改變了哦

 

以上就是本文的全部內(nèi)容,希望對大家的學(xué)習(xí)有所幫助,也希望大家多多支持腳本之家。

相關(guān)文章

最新評論