Git Posted on 2021-08-18 Edited on 2022-01-04 Views: Valine: Gitinstall12yum install gitgit version git-ssh Configset the location git config 123git config --global user.name "xxx"git config --global user.email "xxx@xxx"git config --list ssh 1234567ssh-keygen -t rsa -C "user.email"cd ~/.ssh/# Configure the corresponding SSH in GitHub according to the content in id_rsa.pua# Testssh git@github.com UsageGit clear workspace and staging area1234567# 1. before add & commit operationgit checkout .## The above command is invalid for the new operation(file || folder), use cleangit clean -d# 2. after add operationgit reset . References Linux 下使用 Git 教程(一) 「Github」Git 游戏通关流程 -------------The end of this article, thanks for reading------------- Donate WeChat Pay Alipay