Git basic

作者: sszhang | 来源:发表于2018-07-21 16:34 被阅读0次

clone the project

git clone PASTE HTTPS OR SSH HERE

go into/return back the project

cd NAME-OF-PROJECT
cd ..

list the connect

ls
ls *.md

create directory or README.md file,show README.md

mkdir NAME-OF-YOUR-DIRECTORY
touch README.md
nano README.md
#### ADD YOUR INFORMATION
#### Press: control + X
#### Type: Y
#### Press: enter
cat README.md

remove a file, remove a directory and all of its contents

rm NAME-OF-FILE
rm -r NAME-OF-DIRECTORY

view command history

history

show which directory I am in

pwd

clear the shell window

clear

相关文章

  • 常用的Git指令

    Git 命令https://www.runoob.com/git/git-basic-operations.htm...

  • git基本使用命令

    (git下载地址) Git学习地址 http://www.yiibai.com/git/git_basic_con...

  • Windows git remote: HTTP Basic:

    1 问题描述: git push/ git fetch/ git pull,报 HTTP Basic: Acces...

  • Git

    Git Local Install Git Basic Skills Check Time Travel Remo...

  • git常用操作

    Basic Operation 分支管理切换分支git checkout git checkout -b #...

  • git使用中各类问题汇总

    git 报 HTTP Basic: Access denied 今天pull代码发现git 报错: git rem...

  • Git 记录

    参考: https://www.yiibai.com/git/git_basic_concepts.html 零零...

  • 入门级文章足够

    http://www.runoob.com/git/git-basic-operations.html https...

  • Git basic

    clone the project go into/return back the project list th...

  • GIt Basic

    ssh-keygen 在本地电脑中中生成钥匙 打开公钥id-rsa.pub ,将公钥copy到git网站的SSH ...

网友评论

      本文标题:Git basic

      本文链接:https://www.haomeiwen.com/subject/vrihmftx.html