Skip to content

【每日学习】2021-10-27 #2

@joys-stack

Description

@joys-stack

拉取项目到本地

git clone https://github.com/Ali-zoy/Study.git

创建文件夹

mkdir Test

初始化git仓库

git init

创建文件(Git Bash Here命令行)

touch text.txt

查看文件状态

git status

切换分支

on branch master

添加文件

git add text.txt
git rm text.txt

提交文件到本地内存

git commit -m "描述"

提交代码到远程仓库

git push

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions