From acd8dff426bee897bd01a402e9f3d3c527b25a8f Mon Sep 17 00:00:00 2001 From: Niccolo Borgioli Date: Tue, 16 May 2023 10:50:32 +0200 Subject: [PATCH] reset files --- pages/git/reset-files.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 pages/git/reset-files.md diff --git a/pages/git/reset-files.md b/pages/git/reset-files.md new file mode 100644 index 0000000..79e59aa --- /dev/null +++ b/pages/git/reset-files.md @@ -0,0 +1,7 @@ +# Reset Files + +How to reset files from another branch. + +```sh +git checkout origin/HEAD -- my/file.md +```