hudeya 发表于 2018-9-18 07:37:43

git - 常用操作汇总

# ll  
total 24
  
drwxr-xr-x 4 root root    37 Oct 30 23:27 config
  
-rw-r--r-- 1 root root   555 Oct 30 23:27 config.ini
  
-rw-r--r-- 1 root root 13157 Oct 30 23:27 fabfile.py
  
-rw-r--r-- 1 root root    38 Oct 30 23:31 README
  
drwxr-xr-x 4 root root    37 Oct 30 23:27 template
  
# rm README -f
  
# ll
  
total 20
  
drwxr-xr-x 4 root root    37 Oct 30 23:27 config
  
-rw-r--r-- 1 root root   555 Oct 30 23:27 config.ini
  
-rw-r--r-- 1 root root 13157 Oct 30 23:27 fabfile.py
  
drwxr-xr-x 4 root root    37 Oct 30 23:27 template
  
# git checkout -- README
  
# ll
  
total 24
  
drwxr-xr-x 4 root root    37 Oct 30 23:27 config
  
-rw-r--r-- 1 root root   555 Oct 30 23:27 config.ini
  
-rw-r--r-- 1 root root 13157 Oct 30 23:27 fabfile.py
  
-rw-r--r-- 1 root root    38 Oct 30 23:35 README
  
drwxr-xr-x 4 root root    37 Oct 30 23:27 template


页: [1]
查看完整版本: git - 常用操作汇总