GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - benbtx/tjlc: 简单的代码提交流程

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
readme.txt
readme.txt
 
 

Repository files navigation

-简单的代码提交流程

新建空仓库

git clone 仓库

代码拷入 git status 查看工作区代码相对于暂存区的差别

git add . 将当前目录下修改的所有代码从工作区添加到暂存区 . 代表当前目录

git commit -m ‘注释’ 将缓存区内容添加到本地仓库

git push origin master 将本地版本库推送到远程服务器,

origin是远程主机,master表示是远程服务器上的master分支,分支名是可以修改的

获取某个历史版本: cd 到该项目的一个本地仓库下 log 查看提交记录,找到想要的提交记录,粘贴对应的希哈值 执行 git checkout 希哈值 这本地的这个仓库的代码就会变成你想要的那个版本的代码

About

简单的代码提交流程

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.