Update Git_clone_local_checkout.md

This commit is contained in:
WickedYoda committed 2023-02-28 17:33:37 -06:00
1 parent 4ba13f8b89
commit 931d48004b
1 file changed
+4 -12
+4 -12
View File
@@ -1,18 +1,10 @@
# create and initialize an empty repository
git init
# add a remote named origin for the repository at `<repository>`
git remote add origin `<repository>`
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"