git入门一
1、下載git并安裝
(github網(wǎng)站中
start 收藏
follow 關(guān)注
watch (關(guān)注項(xiàng)進(jìn)度)查看進(jìn)度)
2、啟動(dòng)git。一般用git bash
3、改變git bash界面
4、在本地建立git bash倉(cāng)庫(kù)
到本地文件夾下,右擊建立 git bash here。
5、bash 命令
change directory cd
move mv
make directory mkdir
copy cp
print working directory pwd
remove rm
echo ?打印信息
echo 'hello' > a.txt ?將hello寫入a.txt中
cat 打印文件內(nèi)容
ls.. ?上級(jí)目錄
6、設(shè)置git參數(shù)
?
git bash不能輸入中文問題解決:
7、git 過程
git add .? 添加多個(gè)文件
git log? 顯示提交記錄
git show fdfasdfafasfdlas (表示commit提交后的值)? 展示提交的數(shù)據(jù)
?
?
?
總結(jié)
- 上一篇: Python习题week2
- 下一篇: axure原型怎么让文字自动换行_理解「