Git

Add Source Control

http://www.c-sharpcorner.com/article/getting-started-with-visual-studio-team-services/

--GIT CMD

git init

git status

git add xx.txt

git commit -m "add new file"

git log

git remote add origin https://github.com/jason/demo.git

git remote -v

git push -u origin master

-- pull直接從SERVER將檔案蓋回

-- feach先把SERVER檔案下載,再用merge指令,處理衝突的狀況

--連結到不同的repository

git remote remove origin

git add...

git pull origin master

git pull origin master --allow-unrelated-histories

--Clone

git clone https://

Useful Resources

https://channel9.msdn.com/Shows/Visual-Studio-Toolbox/Git-Fundamentals?term=git

results matching ""

    No results matching ""