mirror of
https://github.com/wickedyoda/public-setupfiles.git
synced 2026-11-16 13:31:56 -06:00
Update Git_clone_local_checkout.md
This commit is contained in:
1 parent
4ba13f8b89
commit
931d48004b
1 file changed
+4
-12
@@ -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"
|
||||
Reference in new issue
Block a user