일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- Oracle 테이블 대소문자
- 무료 오라클 데이터베이스
- 무료 오라클 설치
- ORA-12899
- Oracle Express Edition
- Orace 18c
- oracle 18c
- Oracle 윈도우 설치
- ora-01722
- ORA-00922
- 윈도우 Oracle
- Oracle 사용자명
- 오라클 캐릭터셋 확인
- Oracle 테이블 띄어쓰기
- oracle
- 비전공자를 위한 데이터베이스 입문
- 오라클 캐릭터셋 변경
- 오라클 캐릭터셋 조회
- Oracle 18c HR schema
- 서평단
- Oracle 사용자명 입력
- Oracle 18c 설치
- Oracle 18c HR
- Oracle 초기 사용자
Archives
- Today
- Total
The Nirsa Way
[GitHub] 깃허브 사용법-3 (디렉토리 또는 파일 삭제, git rm) 본문
반응형
-
깃허브 디렉토리 또는 파일 삭제
CLI에서 gitgub에 있는 디렉토리나 파일을 삭제할 수 있습니다.
- git rm -r [디렉토리 또는 파일명]
- git commit -m "확장본에 대한 설명"
- git push origin master
[root@docker-control devops]# git rm -r error_test
rm 'error_test/error.txt'
[root@docker-control devops]# git rm -r worker
rm 'worker/worker.txt'
[root@docker-control devops]# git commit -m "remove directory"
[master 97078df] remove directory
Committer: root <root@docker-control.asia-northeast3-a.c.docker-project-271503.internal>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:
git config --global user.name "Your Name"
git config --global user.email you@example.com
After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
2 files changed, 0 insertions(+), 0 deletions(-)
delete mode 100644 error_test/error.txt
delete mode 100644 worker/worker.txt
[root@docker-control devops]# git push origin master
Username for 'https://github.com': islandtim
Password for 'https://islandtim@github.com':
Counting objects: 3, done.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 302 bytes | 0 bytes/s, done.
Total 2 (delta 0), reused 0 (delta 0)
To https://github.com/islandtim/Nirsa-Project.git
14ff3a5..97078df master -> master
- 삭제 전
- 삭제 후
반응형
'CI CD > GitHub' 카테고리의 다른 글
[GitHub] 깃허브 git push "error: failed to push some refs to" 에러 해결 방법 (1) | 2020.03.19 |
---|---|
[GitHub] 깃허브 사용법-2 (init, remote add, add, commit, pull, push) (0) | 2020.03.19 |
[GitHub] 깃허브 사용법-1 (프로젝트 생성) (0) | 2020.03.19 |