Skip to content

git the use and function of each line of commands on the official website

Notifications You must be signed in to change notification settings

ForeverPain/Git-CommandLines-Study

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Git常用命令速查表

仓库

$ git init ☛在当前目录下新建/初始化:一个Git代码库

$ git init [project-name] ☛新建一个目录,将其初始化为Git代码库

$ git clone [url] ☛下载一个项目和它的整个代码历史


配置

$ git config --list ☛显示当前的Git配置

$ git config -e [--global] ☛ 编辑Git配置文件

$ git config [--global] user.name "[name]" ☛设置提交代码时的用户信息

$ git config [--global] user.email "[email address]" ☛设置提交代码时的用户信息


About

git the use and function of each line of commands on the official website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published