most commonly used git commands

add Add file contents to the index

bisect Find the change that introduced a bug by binary search

branch List, create, or delete branches

checkout Checkout and switch to a branch

clone Clone a repository into a new directory

commit Record changes to the repository

diff
Show changes between commits, commit and working tree, etc

fetch Download objects and refs from another repository

grep Print lines matching a pattern

init Create an empty git repository or reinitialize an existing one

log Show commit logs

merge Join two or more development histories together

mv Move or rename a file, a directory, or a symlink

pull
Fetch from and merge with another repository or a local branch

push Update remote refs along with associated objects

rebase Forward-port local commits to the updated upstream head

reset Reset current HEAD to the specified state

rm Remove files from the working tree and from the index

show Show various types of objects

status Show the working tree status

tag Create, list, delete or verify a tag object signed with GPG

留言

Google Search

推薦內容橫式

本月熱門文章

北京故宮首訪,一窺清宮秘史 大玉兒 & 甄嬛

蔣經國時代 1981年 陳文成命案 始終沒有一個交代!

[失戀歌單] 陳奕迅/林夕 <想哭> - 若無其事原來是最狠的報復

台灣人波蘭旅遊小撇步

Crypto.com 要發卡了,期待 ~! 申請的Ruby Steel這個級別 送Spotify

90年代 香港四大天王 劉德華 郭富城 張學友 黎明

PTT企業綽號列表

八炯統戰影片心得 千萬要謹慎 勿掉入金錢陷阱

還原林宅血案:監察委員田秋堇第一手證言

悲痛!XREX區塊鏈金融犯罪調查師陳梅慧Miffy殞落,揭露虛擬貨幣犯罪背後的黑幕

這個網誌中的熱門文章

Android應用開發豆知識:利用 adb 安裝 apk 到裝置上

Android 中文輸入法 官方版 ! Gboard - Google 鍵盤 開始支援注音輸入啦

Google Play 推薦Android app 誠徵App排行榜

北京故宮首訪,一窺清宮秘史 大玉兒 & 甄嬛

[家教][社會觀察] 建中教我的事 沒上建中被父母親折磨? 在建中到底是如何 ...

[FAANG面試] Amazon/AWS 領導力準則 14 Amazon Leadership Principles

[品質控制] 什麼是Sanity test ? 軟體測試常見名詞整理 包含不同部門的測試人員負責範圍

Acer ICONIA Smart S300 更新後越來越好 Acer也有出手機?!

新鮮人找工作:職場名詞解釋 AE FAE Pre-sales Post-sales