git - 常用操作汇总
# lltotal 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]