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
- dnsjava usageDNSJava
- Git 開源的版本控制系統-02-base usage 基本用法Git
- crontab usage guideGUIIDE
- READ ME
- about me
- MySQL, Incorrect usage of UNION and ORDER BYMySql
- SAP QM Auto Usage Decision
- Inspection Points: Key settings and Usage
- recently----me
- IDEA中Usage提示功能設定Idea
- A Person Who Is Important to MeImport
- ME 588, Dynamics and Vibration
- Tell Me About Yourself Example 1
- rember me all time good luckREMGo
- Java SE, Java EE, Java MEJava
- 【go語言】wait,wait for meGoAI
- [20190324]奇怪的GV$FILESPACE_USAGE檢視.txt
- Shiro中的Remember me設定REM
- 『vulnhub系列』Hack Me Please-1
- In 2019, Let me Replace Redux with React HooksReduxReactHook
- 從me.name = 'forceddd' 開始
- vulnhub靶機-Me and My Girlfriend: 1
- vulnhub靶場之HACK ME PLEASE
- Media Encoder 2022 for Mac(ME2022)Mac
- Percona-Tookit工具包之pt-table-usage
- [20211104]12cR2 new index usage tracking.txtIndex
- nodejs eggjs框架 爬蟲 readhub.meNodeJS框架爬蟲
- 【雜談】Remember-Me的實現REM
- flutter分享外掛:flutter_share_meFlutter
- Show me the code,babel 7 最佳實踐!Babel
- [置頂] About Me & 部落格遷移
- ME5701 Linear stability analysis of Mathieu equation
- SAP RETAIL MM42維護的採購價格,等同於ME11&ME12的效果AI
- GPU Memory Usage佔用而GPU-Util卻為0GPU
- Spring Security 之 Remember-Me (記住我)SpringREM
- 準備學習J2ME-Polish
- j2me rms 的奇怪問題
- find me-記一道misc題