costume GIT usage for me
說明:僅需要了解基本操作,之後這些操作的基礎上逐個新增複雜操作。
1. 配置git
直接編輯 ~/.gitcofig 檔案即可!
2. 檢視git狀態
git status
3. 建立git
git init
3.2 git clone 通過克隆來建立
git clone git@github.com:username/myNCCL.git
注意:有些protocal是不能來push的
比如 https
4. 新增檔案到快取區
git add
5. 提交
git commit
6. 釋出
git push
7. 刪除
git rm
: 此時原始檔與快取區的資料都刪除git rm --eached
只刪除暫存區的
8. 恢復資料
git reset --head HEAD/碼
9.版本變換
git checkout NAME
還有待完善!
10.檢視commit的歷史記錄
git log --oneline
或者glol
oh my zsh 的快捷鍵
相關文章
- git中提示 please tell me who you areGit
- Git 開源的版本控制系統-02-base usage 基本用法Git
- dnsjava usageDNSJava
- solaris 10 disksuite usageUI
- table type usage sample:
- about me
- [Oracle Script] Temporary Sort UsageOracle
- [Oracle Script] Rollback Segment UsageOracle
- BlockRecover Restrictions and Usage NotesBloCREST
- Clear Case usage tips
- Oracle runInstaller 's UsageOracle
- Oracle NUMA usage recommendationOracle
- MySQL, Incorrect usage of UNION and ORDER BYMySql
- READ ME
- [Oracle Script] check tablespace usage infoOracle
- [Oracle Script] check temp tablespace usageOracle
- [Oracle Script] Undo Usage Per statusOracle
- [Oracle Script] Undo Usage Per sessionOracleSession
- Oracle 11g tablespace usageOracle
- [Shell] Linux monitor tablespace usageLinux
- V$sort_usage, where is the definition?
- A Person Who Is Important to MeImport
- 4.Linux monitor tablespace usageLinux
- [Shell] Monitor filesystem usage & delete expire filedelete
- Oracle NUMA Usage Recommendation [ID 759565.1]Oracle
- Find me - 用 ARKit 找人
- Hey async, await meAI
- github/Show me the code (0)Github
- ME 588, Dynamics and Vibration
- IDEA中Usage提示功能設定Idea
- How to Monitor UGA, PGA and Cursor Usage Per SessionSession
- V$TEMPSEG_USAGE與Oracle排序Oracle排序
- 5.Monitor filesystem usage & delete expire filedelete
- http://me.rice.edu/~akin/HTTP
- 【音樂分享】Let Me GoGo
- Please help me on it!Cheers Guys.
- rember me all time good luckREMGo
- col_usage$與直方圖的收集直方圖