본문 바로가기

웹 & 앱 꿀 TIP

[VScode] 깃허브 연동 유익한 블로그 share

728x90
반응형

vscode에 npm, node.js, vue.js를 설치하고 우분투 환경에서 깃허브를 연동하는데

 

내가 너무 잘 보았던 블로그를 기입한다.

 

https://better-tomorrow.tistory.com/entry/WSL-2%EC%97%90%EC%84%9C-Git-%EC%82%AC%EC%9A%A9

 

WSL 2에서 Git 사용

WSL을 활성화하고 Linux 배포판을 설치할 때 컴퓨터의 Windows NTFS C : \ 드라이브와 분리된 새 파일 시스템을 설치 Linux에서는 드라이브에 문자가 제공되지 않음, 마운트 포인트가 주어짐. (아래를 말

better-tomorrow.tistory.com

 

 

https://velog.io/@lecharl/wsl2-%EA%B9%83%ED%97%88%EB%B8%8C-1

 

wsl2 & 깃허브 1

윈도우의 터미널이나 파워셸 말고 내게 좀 익숙한 우분투로 깃을 할 수 있는지 궁금해서 알아봄.현 저장소가 어디에 있는지 창이 뜬다.✨✨ 네트워크 > wsl$ > Ubuntu > home > lsy9680에 있다는 걸 알았

velog.io

 

어쩜 이 분들은 잘 설명을 해주시는지..따흐흑 덕분에 깃허브 연동에 성공하였다.

 

모르는게 있으면 댓글 고고

 

git config username haryul 이런식으로 이름과 계정을 설정하였으면

 

nano ~/.gitconfig 명령어로 수정 및 확인을 할 수 있다.

 

내 history다

 

haryul@DESKTOP-QFKN84V:~/test-vue$ history
    1  code.
    2  cd
    3  ls
    4  ll
    5  code .
    6  code.
    7  code .
    8  sudo code .
    9  sudo
   10  sudo code .
   11  exit
   12  code .
   13  sudo apt install
   14  exit
   15  pwd
   16  ls/
   17  ls
   18  ls /
   19  npm
   20  sudo apt install npm
   21  npm
   22  sudo apt install npm
   23  apt-get update
   24  sudo apt install npm
   25  npm
   26  sudo apt install npm
   27  sudo apt-get install npm
   28  sudo apt update
   29  sudo apt install npm
   30  npm --version
   31  npm install -g @vue/cli
   32  sudo npm install -g @vue/cli
   33  vue -version
   34  vue --version
   35  sudo npm install -g @vue/cli
   36  vue --version
   37  sudo npm install -g @vue/cli
   38  vue --version
   39  sudo npm install -g @vue/cli
   40  vue --version
   41  sudo npm install -g @vue/cli
   42  vue --version
   43  vue -version
   44  npm install -g @vue/cli
   45  vue --version
   46  npm install vue-cli-global
   47  vue --version
   48  npm install @vue/cli -global
   49  vue --version
   50  npm install vue-cli -global
   51  exit
   52  vue -version
   53  npm install vue
   54  vue --version
   55  sudo apt update
   56  vue -version
   57  vue --version
   58  sudo npm install vue
   59  vue --version
   60  npm install -g @vue/cli
   61  sudo apt update && sudo apt upgrade
   62  sudo npm install npm@latest -g
   63  sudo npm install -g @vue/cli
   64  node --version
   65  sudo npm install -g @vue/cli
   66  sudo apt update
   67  sudo npm install -g @vue/cli
   68  curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo bash -
   69  sudo apt update
   70  sudo apt install nodejs
   71  node --version
   72  sudo npm install npm@latest -g
   73  sudo npm install -g @vue/cli
   74  vue --version
   75  vue create test-vue
   76  npm run serve
   77  cd..
   78  cd ..
   79  sudo apt-get install git
   80  sudo apt update && sudo apt upgrade
   81  sudo apt install git && git --version
   82  sudo add-apt-repository ppa:git-core/ppa
   83  sudo apt update && sudo apt upgrade
   84  sudo apt install git && git --version
   85  git config --global user.name
   86  git config --global user.email
   87  ls
   88  cd test-vue
   89  git init
   90  cd..
   91  cd ..
   92  git init
   93  sudo apt-get install git
   94  git config --global user.name haryul99
   95  git config --global user.email dain117
   96  nano ~/.gitconfig
   97  git config --global user.name
   98  nano ~/.gitconfig
   99  git config --global user.email
  100  git init
  101  git status
  102  git add .
  103  git add -test-vue
  104  git add .
  105  git add --ignore-errors .
  106  git add .
  107  ls
  108  ls test-vue
  109  cd test-vue
  110  git add .
  111  git status
  112  git commit -m "first commit"
  113  git remote add origin https://github.com/haryul99/RedwoodK.git
  114  git push -u origin master
  115  git log
  116  ls
  117  history

 

나는 이케저게 했음 똑같이 하면 될 것이다.

728x90
반응형