반응형

2026/08 6

GIT) 로컬 repo와 원격 repo간 차이로 인한 특정 파일(로그) 제외

GIT 로컬 repo와 원격 repo간 차이로 인한 특정 파일(로그) 제외특정 파일 제외 : git filter-branch --force --index-filter "git rm --cached --ignore-unmatch '~~~~~.zip'" --prune-empty --tag-name-filter cat -- --all커밋 연결이 끊어진 로그 만료 시키기 : git reflog expire --expire=now --all가비지 컬렉션 실행 및 퍼지 : git gc --aggressive --prune=now다시 강제 푸시 : git push -f origin main

GIT) 푸시할려고하는 파일 용량이 너무 큰 경우 - 오류 (HTTP 499)

GIT 푸시할려고하는 파일 용량이 너무 큰 경우 - 오류 (HTTP 499)오류 (HTTP 499)HTTP 499 / unexpected disconnect실행 : git push -uf origin main실행 결과 (예시)Enumerating objects: 1597, done.Counting objects: 100% (1597/1597), done.Delta compression using up to 16 threadsCompressing objects: 100% (1580/1580), done.error: RPC failed; HTTP 499 curl 22 The requested URL returned error: 499send-pack: unexpected disconnect while rea..

GIT) 최초 원격 저장소(repo) 설정 및 Push

GIT 최초 원격 저장소(repo) 설정 및 Pushgit 초기 설정cd existing_repogit initgit remote add origin http://git.xxx/xxx/~~~.gitgit branch -M main파일 추가git add .윈도우 줄바꿈 자동 변환 기능 (옵션)전역 : git config --global core.safecrlf false현재 Repo만환경등록 : git config core.safecrlf false고정 관리 (.gitattributes)# .gitattributes 내용 수정 ---------------------------------------------------# 모든 텍스트 파일은 Git 저장소에는 LF로, Windows 체크아웃 시 CRLF로 자..

GIT) 원격 저장소(repo) URL(set-rul) 변경

GIT 원격 저장소(repo) URL(set-rul) 변경원격 저장소 확인git remote -v결과 예시origin http://git.xxx/xxx/~~~.git (fetch)origin http://git.xxx/xxx/~~~.git (push)저장소 변경git remote set-url origin https://github.com/xxx/~~~.git기존 (push) URL이 틀린 경우git remote set-url --delete --push origin http://git.xxx/xxx/~~~.git또는git remote set-url --push origin http://git.xxx/xxx/~~~.git최종 원격 저장소 재확인 : git remote -v

Oracle) 오라클 Full 백업 후 스키마별 복원

오라클 Full 백업 후 스키마별 복원Export : 데이터베이스 전체(FULL)로 백업Import : 필요한 스키마(SCHEMA)만 복원전체 FULL Exportexpdp system/password \ full=y \ directory=DATA_PUMP_DIR \ dumpfile=full_20260804.dmp \ logfile=full_20260804.logorexpdp "'/ as sysdba'" \ full=y \ directory=DATA_PUMP_DIR \ dumpfile=full_20260804.dmp \ logfile=full_20260804.logDump 포함 내용모든 사용자(User)모든 스키마테이블인덱스ViewProcedureSequence..

DBMS/Oracle 2026.08.04

Windows/bat) 특정 폴더 이하 용량을 빠르게 확인 하는 방법 (w/ robocopy)

특정 폴더 이하 용량을 빠르게 확인 하는 방법탐색기를 통하여 용량 확인하는것이 상대적으로 느려서 찾게 된 방법robocopy 시뮬레이션robocopy : 대용량·다수 파일에서 실무적으로 빠른 편실제로 복사하지 않고 파일 수와 용량만 집계@echo offrem bat파일set _SOURCE_DIR_=D:\Backuprobocopy "%_SOURCE_DIR_%" "%TEMP%\DummyFolder" /L /E /BYTES /NFL /NDL /NJH예:------------------------------------------------------------------------------ 전체 복사됨 건너 뜀 불일치 실패..

S.W./Microsoft 2026.08.04
반응형