Skip to content

git常用命令 - slm的研发笔记 #3

Description

@007slm

https://007slm.github.io/post/git%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4/

创建新的github仓库 git init git add README.md git commit -m “readme.md” git remote add origin https://github.com/lonelyc/MyRepo.git git push -u origin master 在新的仓库中创建分支 获取远程分支列表 git branch -r 在本地创建新的分支 git branch newbranch 切换到新的分

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions