작업 중 폴더 bitbucket에 git 하기
git을 사용하며 올리는 저장소는
github나 bitbucket이 있지만..
회사 프로젝트는 유로로 돈을 내고 private관리를 하기에..
bitbucket에 올리려고 했는데
모든게 다 처음인 내게 vue init webpack-simple #프로젝트 생성 후
무엇이 있는 폴더 자체를 repository에 올리는건 어려운 숙제였다..
그리하야 지우고 깔고.. 반복과 삽의 연속하다
결국 설치완료
헷갈린 부분...
create-repository 하면 너무 쉽게 간단히 git을 썻으나...
흠.. 뭐가 있는걸 올리기는??
생각하면 간단한데... 이러면서 스킬 하나씩 늘어가는걸로(?)
뷰 웹팩 설치 후에 요 아이들에
먼저 git init
그리고 git add .
git commit -m "first commit"(메세지는 아무거나 상관 없음)
한 후 git remote add origin https://~.git
git push -u origin --all
git push -u origin --tags
빗버킷 새로 고침하니.. 결국 작 remote되었음.. 짝짝짝
userui-iMac:project-name user$ git commit -m "first commit"
[master (root-commit) 21e6213] first commit
11 files changed, 8631 insertions(+)
create mode 100644 .babelrc
create mode 100644 .editorconfig
create mode 100644 .gitignore
create mode 100644 README.md
create mode 100644 index.html
create mode 100644 package-lock.json
create mode 100644 package.json
create mode 100644 src/App.vue
create mode 100644 src/assets/logo.png
create mode 100644 src/main.js
create mode 100644 webpack.config.js
userui-iMac:project-name user$ git remote add origin https://블라블라.git
fatal: remote origin already exists.
userui-iMac:project-name user$ git push -u origin --all
Enumerating objects: 15, done.
Counting objects: 100% (15/15), done.
Delta compression using up to 4 threads
Compressing objects: 100% (14/14), done.
Writing objects: 100% (15/15), 76.17 KiB | 6.92 MiB/s, done.
Total 15 (delta 0), reused 0 (delta 0)
To https://bitbucket.org/호호호호.git
* [new branch] master -> master
Branch 'master' set up to track remote branch 'master' from 'origin'.
userui-iMac:project-name user$ git push -u origin --tags
Everything up-to-date
userui-iMac:project-name user$ code.
-bash: code.: command not found
userui-iMac:project-name user$ code .
userui-iMac:project-name user$ npm run dev