markdown Git经常使用的命令

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown Git经常使用的命令相关的知识,希望对你有一定的参考价值。

# Git user configuration

`$ git config --global user.name "John Doe"`

`$ git config --global user.email johndoe@example.com`

# Global .gitignore configuration 

`$ git config --global core.excludesfile ~/.gitignore`

# Untrack files already added to the repository

`git rm -r --cached .`

# Remove unstaged and uncommited chnages and back to the last commit

`git reset --hard`

以上是关于markdown Git经常使用的命令的主要内容,如果未能解决你的问题,请参考以下文章