Git使用基础命令
创建Repository
初始化Repository
Cloning an Existing Repository
追踪新的文件
Staging Modified Files
Ignoring Files
Often, you’ll have a class of files that you don’t want Git to automatically add or even show you as being untracked. These are generally automatically generated files such as log files or files produced by your build system. In such cases, you can create a file listing patterns to match them named .gitignore. Here is an example .gitignore file:
Viewing Your Staged and Unstaged Changes
Committing Your Changes
Skipping the Staging Area
Removing Files
Moving Files
领取专属 10元无门槛券
私享最新 技术干货