git 실습

TaeYoon Kim·2023년 11월 13일
0

실습

목록 보기
4/5
post-custom-banner

프로젝트 이름 : 마케팅 팀을 위한 웹 관리자 시스템 개발
로컬 저장소 및 원격 저장소 생성

Playdata@LAPTOP-QN24EQ56 MINGW64 ~/Web_admin_system
$ git init
Initialized empty Git repository in C:/Users/Playdata/Web_admin_system/.git/

Playdata@LAPTOP-QN24EQ56 MINGW64 ~/Web_admin_system (master)
$ git config --global user.email "thanks9807@naver.com"

Playdata@LAPTOP-QN24EQ56 MINGW64 ~/Web_admin_system (master)
$ git config --global user.name "thanks9807"

Playdata@LAPTOP-QN24EQ56 MINGW64 ~/Web_admin_system (master)
$ git status
On branch master

No commits yet

nothing to commit (create/copy files and use "git add" to track)

Playdata@LAPTOP-QN24EQ56 MINGW64 ~/Web_admin_system (master)
$ git status
On branch master

No commits yet

Untracked files:
(use "git add ..." to include in what will be committed)
.gitignore
README.txt

nothing added to commit but untracked files present (use "git add" to track)

Playdata@LAPTOP-QN24EQ56 MINGW64 ~/Web_admin_system (master)
$ git add .

Playdata@LAPTOP-QN24EQ56 MINGW64 ~/Web_admin_system (master)
$ git status
On branch master

No commits yet

Changes to be committed:
(use "git rm --cached ..." to unstage)
new file: .gitignore
new file: README.txt

Playdata@LAPTOP-QN24EQ56 MINGW64 ~/Web_admin_system (master)
$ git config --global commit.template .gitmessage.txt

Playdata@LAPTOP-QN24EQ56 MINGW64 ~/Web_admin_system (master)
$ git commit
[master (root-commit) 8dc41b0][init] 초기 설정 마케팅팀이 요청한 관리자 시스템 개발을 위한 포로젝트 repo 생성
2 files changed, 186 insertions(+)
create mode 100644 .gitignore
create mode 100644 README.txt

Playdata@LAPTOP-QN24EQ56 MINGW64 ~/Web_admin_system (master)
$ git remote add origin https://github.com/thanks9807/Web_admin_system.git

Playdata@LAPTOP-QN24EQ56 MINGW64 ~/Web_admin_system (master)
$ git push -u origin master

post-custom-banner

0개의 댓글