User Tools

Site Tools


tutorials:git_quick_reference

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
tutorials:git_quick_reference [2019/04/18 14:19]
marcus.williams [Add, commit & push]
tutorials:git_quick_reference [2019/04/18 14:43]
marcus.williams [Variations]
Line 37: Line 37:
 <​code>​ <​code>​
 git push --force origin master git push --force origin master
 +</​code>​
 +
 +Pull with forced overwrite [[https://​stackoverflow.com/​questions/​1125968/​how-do-i-force-git-pull-to-overwrite-local-files|link]]:​
 +<​code>​
 +git fetch --all
 +git reset --hard origin/​master
 </​code>​ </​code>​
  
tutorials/git_quick_reference.txt ยท Last modified: 2020/01/03 18:29 by marcus.williams