yeonns / git-practice

This is a repository for practicing git and github features.
1 stars 26 forks source link

Practice: remote repository management #4

Open yeonns opened 1 year ago

yeonns commented 1 year ago

Practice: remote repository management

  1. Check your remote repository list with below command
    $ git remote -v
    origin  git@github.com:YOUR_ID/git-practice.git (fetch)
    origin  git@github.com:YOUR_ID/git-practice.git (push)
  2. Rename remote repsoitory name from origin to YOUR_ID
    # result should be like below!
    $ git remote -v
    YOUR_ID  git@github.com:YOUR_ID/git-practice.git (fetch)
    YOUR_ID  git@github.com:YOUR_ID/git-practice.git (push)
  3. Add remote repository named origin - yeonns/git-practice
    # result should be like below!
    $ git remote -v
    origin  git@github.com:yeonns/git-practice.git (fetch)
    origin  git@github.com:yeonns/git-practice.git (push)
    YOUR_ID  git@github.com:YOUR_ID/git-practice.git (fetch)
    YOUR_ID  git@github.com:YOUR_ID/git-practice.git (push)
  4. Fetch origin
  5. Show your result with comments!
    $ git remote -v
    origin  git@github.com:yeonns/git-practice.git (fetch)
    origin  git@github.com:yeonns/git-practice.git (push)
    YOUR_ID  git@github.com:YOUR_ID/git-practice.git (fetch)
    YOUR_ID  git@github.com:YOUR_ID/git-practice.git (push)
    $ git remote show origin
    * remote origin
    Fetch URL: git@github.com:yeonns/git-practice.git
    Push  URL: git@github.com:yeonns/git-practice.git
    HEAD branch: master
    Remote branches:
    feat/about-me            tracked
    master                   tracked
✔️ Hints ```sh # rename remote repository $ git remote rename # add remote repository $ git remote add # fetch remote repository $ git fetch ```
CHOILHYUNQ commented 1 year ago

$ git remote -v CHOILHYUNQ https://github.com/CHOILHYUNQ/git-practice.git (fetch) CHOILHYUNQ https://github.com/CHOILHYUNQ/git-practice.git (push) origin https://github.com/yeonns/git-practice.git (fetch) origin https://github.com/yeonns/git-practice.git (push)

dannysboard commented 1 year ago

KIMDAEHWAN@DESKTOP-5C710KO MINGW64 ~/git-practice (master) $ git remote -v dannysboard https://github.com/dannysboard/git-practice.git (fetch) dannysboard https://github.com/dannysboard/git-practice.git (push) origin https://github.com/yeonns/git-practice.git (fetch) origin https://github.com/yeonns/git-practice.git (push)

linibell commented 1 year ago

(base) bag-yelin-ui-MacBookPro:git-practice yelin$ git remote -v
linibell    https://github.com/linibell/git-practice.git (fetch)
linibell    https://github.com/linibell/git-practice.git (push)
origin  https://github.com/yeonns/git-practice.git (fetch)
origin  https://github.com/yeonns/git-practice.git (push)
hilee0911 commented 1 year ago

naseh@LAPTOP-F2QUSORR MINGW64 ~/git-practice (master) $ git remote -v hilee0911 https://github.com/hilee0911/git-practice.git (fetch) hilee0911 https://github.com/hilee0911/git-practice.git (push) origin https://github.com/yeonns/git-practice.git (fetch) origin https://github.com/yeonns/git-practice.git (push)

Kim-Ha-neul commented 1 year ago

Kim@DESKTOP-9HQS5PT MINGW64 ~/git/git-practice (master) $ git remote -v neulKimsky https://github.com/Kim-Ha-neul/git-practice.git (fetch) neulKimsky https://github.com/Kim-Ha-neul/git-practice.git (push) origin https://github.com/yeonns/git-practice.git (fetch) origin https://github.com/yeonns/git-practice.git (push)

HAHA :D

aodlfdl2 commented 1 year ago

(base) eojinchoi@Eojinui-MacBookAir git-practice % git remote -v aodlfdl2 https://github.com/aodlfdl2/git-practice.git (fetch) aodlfdl2 https://github.com/aodlfdl2/git-practice.git (push) origin https://github.com/yeonns/git-practice.git (fetch) origin https://github.com/yeonns/git-practice.git (push)

baegibum commented 1 year ago

$ git remote -v baegibum https://github.com/baegibum/git-practice (fetch) baegibum https://github.com/baegibum/git-practice (push) origin https://github.com/yeonns/git-practice (fetch) origin https://github.com/yeonns/git-practice (push)

Hyunghoon-Park commented 1 year ago

'''sh Hyunghoon-Park https://github.com/Hyunghoon-Park/git-practice (fetch) Hyunghoon-Park https://github.com/Hyunghoon-Park/git-practice (push) origin https://github.com/yeonns/git-practice.git (fetch) origin https://github.com/yeonns/git-practice.git (push) '''

subin97 commented 1 year ago
$ git remote -v
origin  https://github.com/yeonns/git-practice.git (fetch)
origin  https://github.com/yeonns/git-practice.git (push)
subin97 https://github.com/subin97/git-practice.git (fetch)
subin97 https://github.com/subin97/git-practice.git (push)
uutaein commented 1 year ago

origin https://github.com/yeonns/git-practice.git (fetch) origin https://github.com/yeonns/git-practice.git (push) uutaein https://github.com/uutaein/git-practice.git (fetch) uutaein https://github.com/uutaein/git-practice.git (push)

YeYerin commented 1 year ago
$ git remote -v
origin  https://github.com/yeonns/git-practice.git (fetch)
origin  https://github.com/yeonns/git-practice.git (push)
yeyerin https://github.com/YeYerin/webpage.git (fetch)
yeyerin https://github.com/YeYerin/webpage.git (push)
svdoit commented 1 year ago
$ git remote -v
origin  https://github.com/yeonns/git-practice.git (fetch)
origin  https://github.com/yeonns/git-practice.git (push)
svdoit-bot      https://github.com/svdoit/git-practice.git (fetch)
svdoit-bot      https://github.com/svdoit/git-practice.git (push)
RLADUDWN7237 commented 1 year ago

(base) youngju@Youngjuui-MacBookPro git-practice % git remote -v origin https://github.com/yeonns/git-practice.g (fetch) origin https://github.com/yeonns/git-practice.g (push) youngju-bot https://github.com/RLADUDWN7237/git-practice.git (fetch) youngju-bot https://github.com/RLADUDWN7237/git-practice.git (push)

zjohn99 commented 1 year ago

origin https://github.com/yeonns/git-practice.git (fetch) origin https://github.com/yeonns/git-practice.git (push) zjohn https://github.com/zjohn99/git-practice.git (fetch) zjohn https://github.com/zjohn99/git-practice.git (push)

sihwanv commented 1 year ago
$ git remote -v
origin  https://github.com/yeonns/git-practice.git (fetch)
origin  https://github.com/yeonns/git-practice.git (push)
sihwanv https://github.com/sihwanv/git-practice.git (fetch)
sihwanv https://github.com/sihwanv/git-practice.git (push)
rollco commented 1 year ago

$ git remote -v Ideun https://github.com/rollco/git-practice.git (fetch) Ideun https://github.com/rollco/git-practice.git (push) origin https://github.com/yeonns/git-practice.git (fetch) origin https://github.com/yeonns/git-practice.git (push)

apfhdchl commented 1 year ago

apfhdchl https://github.com/apfhdchl/git-practice.git (fetch) apfhdchl https://github.com/apfhdchl/git-practice.git (push) origin https://github.com/yeonns/git-practice.git (fetch) origin https://github.com/yeonns/git-practice.git (push)

jang-hyeonji commented 1 year ago

C:\Users\user\git-practice>git remote -v jang-hyeonji https://github.com/jang-hyeonji/git-practice.git (fetch) jang-hyeonji https://github.com/jang-hyeonji/git-practice.git (push) origin https://github.com/yeonns/git-practice.git (fetch) origin https://github.com/yeonns/git-practice.git (push)

Jeong-jaehoon commented 1 year ago

$ git remote -v Jeong-jaehoon https://github.com/Jeong-jaehoon/git-practice.git (fetch) Jeong-jaehoon https://github.com/Jeong-jaehoon/git-practice.git (push) origin https://github.com/yeonns/git-practice.git (fetch) origin https://github.com/yeonns/git-practice.git (push)