From 931d48004bde2f9cd72e04e8c3209c1b638c8d42 Mon Sep 17 00:00:00 2001 From: WickedYoda <68271168+wickedyoda@users.noreply.github.com> Date: Tue, 28 Feb 2023 17:33:37 -0600 Subject: [PATCH] Update Git_clone_local_checkout.md --- Git_clone_local_checkout.md | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/Git_clone_local_checkout.md b/Git_clone_local_checkout.md index 3c682b7..76ce274 100644 --- a/Git_clone_local_checkout.md +++ b/Git_clone_local_checkout.md @@ -1,18 +1,10 @@ -# create and initialize an empty repository - git init -# add a remote named origin for the repository at `` - -git remote add origin `` - -https://github.com/wickedyoda/public-setupfiles - - -# do a git-fetch +git remote add origin https://github.com/wickedyoda/public-setupfiles git fetch -# check out the master branch +git checkout main -git checkout master + +To remove "rm -rf .git"