git-clean[https://git-scm.com/docs/git-clean]Note that th...[作者空间]
Scenario: A project is initialized, add a .gitignore file...[作者空间]
There was a file demo.py in the git repo, it was deleted ...[作者空间]
Solution:[作者空间]
Show local branch info: Show remote branch info:[作者空间]
Scenario:Need to update a public method "strToNum()".The ...[作者空间]
While trying to drop a commit 6f34289, there is a conflic...[作者空间]
Command: git checkout --track origin/remoteBranchName[作者空间]
In general, I'm sure some content was in a file, then got...[作者空间]
REM: Be careful if this is amaster branch, or a branch wh...[作者空间]
Command: Demo:[作者空间]
Say I have commits A - B - C, "C" is the newest commit.I ...[作者空间]
Scenario: Say I'm on a branch dev, there are multiple com...[作者空间]
Be aware: This action will rewrite commit history. Before...[作者空间]
Scenario: Mistakenly make a new commit on master branch, ...[作者空间]
Make git ignore the chmod operation, say chmod +x gradlew...[作者空间]
Scenario:In one specific commit, need to discard the chan...[作者空间]
Normally we just use git clone 'repoUrl'.Scenario:I want ...[作者空间]
For instance, I want to check when the following line of ...[作者空间]