添加revert
This commit is contained in:
		
							parent
							
								
									3125575610
								
							
						
					
					
						commit
						760caffbcf
					
				@ -53,3 +53,8 @@ git checkout commitid -- /path/folder/to
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
8.git更改分支master为main
 | 
					8.git更改分支master为main
 | 
				
			||||||
git branch -M main
 | 
					git branch -M main
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					9.回退到某次提交且保留后续提交:
 | 
				
			||||||
 | 
					git revert -n xxx
 | 
				
			||||||
 | 
					git commit
 | 
				
			||||||
 | 
					git push
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user