add notes on switching branch, pushing, pulling and fetching.
This commit is contained in:
		
							parent
							
								
									b71cf2f2bb
								
							
						
					
					
						commit
						c4a97285c6
					
				
							
								
								
									
										12
									
								
								README.md
								
								
								
								
							
							
						
						
									
										12
									
								
								README.md
								
								
								
								
							| 
						 | 
				
			
			@ -25,6 +25,18 @@ General Usage
 | 
			
		|||
	# show changes since last commit
 | 
			
		||||
	git diff HEAD
 | 
			
		||||
 | 
			
		||||
Pushing/Pulling Changes
 | 
			
		||||
-------------------------
 | 
			
		||||
 | 
			
		||||
	# fetch changes from remote for current branch AND merge them in
 | 
			
		||||
	git pull
 | 
			
		||||
 | 
			
		||||
	# only fetch changes, do not merge (probably wont be used, but useful to know that git pull = git fetch + git merge in one)
 | 
			
		||||
	git fetch
 | 
			
		||||
 | 
			
		||||
	# push your changes to remote
 | 
			
		||||
	git push
 | 
			
		||||
 | 
			
		||||
Branching
 | 
			
		||||
-----------
 | 
			
		||||
	
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue