본문 바로가기
깃허브 링크!
GitHub

깃허브

KGA_05@DESKTOP-H1ERR6L MINGW64 ~/Desktop/login
$ git init
Initialized empty Git repository in C:/Users/KGA_05/Desktop/login/.git/

KGA_05@DESKTOP-H1ERR6L MINGW64 ~/Desktop/login (master)
$ git add .

KGA_05@DESKTOP-H1ERR6L MINGW64 ~/Desktop/login (master)
$ git remote add origin "https://github.com/9oodam/Project-MW.git"

KGA_05@DESKTOP-H1ERR6L MINGW64 ~/Desktop/login (master)
$ git pull origin master
remote: Enumerating objects: 9, done.
remote: Counting objects: 100% (9/9), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 9 (delta 1), reused 9 (delta 1), pack-reused 0
Unpacking objects: 100% (9/9), 973 bytes | 44.00 KiB/s, done.
From https://github.com/9oodam/Project-MW
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master

KGA_05@DESKTOP-H1ERR6L MINGW64 ~/Desktop/login (master)
$ git branch GH

KGA_05@DESKTOP-H1ERR6L MINGW64 ~/Desktop/login (master)
$ git checkout GH
Switched to branch 'GH'
A       login.css
A       login.html
A       login.js
A       signup.css
A       signup.html
A       signup.js

KGA_05@DESKTOP-H1ERR6L MINGW64 ~/Desktop/login (GH)
$ git add .

KGA_05@DESKTOP-H1ERR6L MINGW64 ~/Desktop/login (GH)
$ git commit -m "login"
[GH 549ca37] login
 6 files changed, 440 insertions(+)
 create mode 100644 login.css
 create mode 100644 login.html
 create mode 100644 login.js
 create mode 100644 signup.css
 create mode 100644 signup.html
 create mode 100644 signup.js

KGA_05@DESKTOP-H1ERR6L MINGW64 ~/Desktop/login (GH)
$ git push origin GH
Enumerating objects: 9, done.
Counting objects: 100% (9/9), done.
Delta compression using up to 4 threads
Compressing objects: 100% (8/8), done.
Writing objects: 100% (8/8), 3.30 KiB | 1.10 MiB/s, done.
Total 8 (delta 2), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (2/2), done.
To https://github.com/9oodam/Project-MW.git
   db89c6f..549ca37  GH -> GH

KGA_05@DESKTOP-H1ERR6L MINGW64 ~/Desktop/login (GH)
$

'GitHub' 카테고리의 다른 글

git branch 생성 다시 보자  (0) 2023.06.05
깃허브 마스터  (0) 2023.04.24
깃허브 프로젝트시  (0) 2023.04.19
7일차 github  (0) 2023.03.08
6일차 깃허브 사용  (0) 2023.03.07