etc/git
visual studio code에서 저장소에 올리는법
JENN_tech7
2020. 11. 9. 14:43
728x90
SMALL
ctrl+shifr+`누르면 터미널 뜸
git add .
git commit -m "메시지"
git push 해주면 됨
C:\Users\user1\Frontend>git remote -v
origin https://github.com/Jenn-tech/Frontend (fetch)
origin https://github.com/Jenn-tech/Frontend (push)
C:\Users\user1\Frontend>git add .
C:\Users\user1\Frontend>git status
On branch main
Your branch is up to date with 'origin/main'.
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
new file: 20201109/app.js
new file: 20201109/index.html
modified: README.md
C:\Users\user1\Frontend>git commit -m "html sample1"
[main fb624c4] html sample1
3 files changed, 222 insertions(+)
create mode 100644 20201109/app.js
create mode 100644 20201109/index.html
C:\Users\user1\Frontend>git push
Enumerating objects: 8, done.
Counting objects: 100% (8/8), done.
Delta compression using up to 4 threads
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 2.85 KiB | 2.85 MiB/s, done.
Total 6 (delta 0), reused 0 (delta 0), pack-reused 0
To https://github.com/Jenn-tech/Frontend
1379f35..fb624c4 main -> main
728x90
LIST