• Skip to main content

Uly.me

cloud engineer

  • Home
  • Archives
  • Search

Git Reset File From Master

May 28, 2022 by Ulysses

Here’s how to reset a file from the master branch.

git checkout origin/master test.py

git checkout origin/master test.py

This will undo your changes and matches what’s in the master repo.

Filed Under: Git Tagged With: git, master, reset

Search The Website

Subscribe Via Email

  • Home
  • About
  • Contact

Copyright © 2022