Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
rb:git-cheatsheet [28/11/2019 11:07]
andrew [git pull]
rb:git-cheatsheet [28/11/2019 11:08] (current)
andrew [git pull]
Line 206: Line 206:
 Note, ''​git fetch''​ will get updates from the origin, but will not merge with any local changes. ''​git pull''​ is the same as ''​git fetch''​ followed by a ''​git merge''​. ''​git getch''​ will never change your local copy or branch, but ''​git pull''​ will update your local branch to it's remote version, which you may not want.  Note, ''​git fetch''​ will get updates from the origin, but will not merge with any local changes. ''​git pull''​ is the same as ''​git fetch''​ followed by a ''​git merge''​. ''​git getch''​ will never change your local copy or branch, but ''​git pull''​ will update your local branch to it's remote version, which you may not want. 
  
 +
 +==== git fetch ====
 +
 +''​git fetch''​ will get updates from the origin, but will not merge with any local changes.
  
 ==== git log ==== ==== git log ====

rb/git-cheatsheet.txt ยท Last modified: 28/11/2019 11:08 by andrew