Topics


Pages


Content

See also Git section of my Learn to Code project.

Quick reference

Restore a file to match another branch.

$ git checkout my-feature
$ git checkout origin/master file.py