메뉴 건너뛰기

Cloudera, BigData, Semantic IoT, Hadoop, NoSQL

Cloudera CDH/CDP 및 Hadoop EcoSystem, Semantic IoT등의 개발/운영 기술을 정리합니다. gooper@gooper.com로 문의 주세요.


1. 해당 폴더로 이동(이전에 다른 리포지토리에서 clone한곳)

  cd /home/gooper/git/gdime


2. 기존 리포지토리 pull/psh

  git pull

  git add .

  git commit -m "clean push"

 git push


3. 기존 리포지토리 제거

  git remote remove origin


4. 새 리포지토리 remote추가

  git remote add origin https://gooperone@bitbucket.org/gooperone/gdime.git


5. 로컬 소스를 리포지토리에 반영

  git push -u origin master


6. dev라는 브랜치를 만들고(리포지토리 제공 페이지에서 진행) 앞으로의 작업이 진행될수 있도록도록함

  git fetch && git checkout dev


---------로컬에 이전 리포지토리를 이용하여 새로운 이름의 리포지토리를 생성하고 원격 리포지토리에 등록하기

1. 리포지토리 상위 폴더로 이동

  cd /home/gooper/git

2. 이전에 존재하는 리포지토리를 이용하여 새로운 리포지토리 생성

  mv old_repository_name new_repository_name

3. 새로 생성된 리포지토리로 폴더 변경

  cd new_repository_name

4. 기존의 히스토리 삭제

  rm -rf .git

5. 파일 정리후 새로운 git설정

  git init

  git add .

  git commit -m "first commit"

6. 저장소 생성

  리포지토리 제공업체의 페이지에서 절차에 따라 생성해준다.

7. 6에서 생성한 git 저장소 연결

  git remote add origin https://gooper@bitbucket.org/gooper/gdime.git

8. 강제 push 

  git push -u --force origin master

번호 제목 날짜 조회 수
601 hive job실행시 meta정보를 원격의 mysql에 저장하는 경우 설정방법 2014.05.28 1164
600 impala 설치/설정 2016.06.03 1161
599 Current heap configuration for MemStore and BlockCache exceeds the threshold required for successful cluster operation 2017.07.18 1151
598 DataNode를 기동할때 "Block pool ID needed, but service not yet registered with NN" 오류 발생에 따른 조치사항 2018.05.28 1147
597 "Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources"오류 발생시 조치사항 2016.05.25 1133
596 Building a Cluster docs 2014.04.22 1129
595 cloudera(python 2.7.5)에서 anaconda3로 설치한 외부 python(3.6.6)을 이용하여 pyspark를 사용하는 설정 2018.09.14 1126
594 Flume과 Kafka를 사용한 초당 100만개 로그 수집 테스트 file 2016.10.31 1126
593 hive에서 insert overwrite directory.. 로 하면 default column구분자는 'SOH'혹은 't'가 됨 2014.05.20 1124
592 unique한 값 생성 2014.04.25 1124
591 Impala의 Queries탭에서 여러조건으로 쿼리 찾기 2018.05.09 1114
590 [백업] 리눅스 시스템 백업하기 (Linux System Backup) - TAR 사용 시스템 전체 백업 2022.01.19 1111
589 dual table만들기 2014.05.16 1104
588 [Magento]php7에 Composer를 이용하여 Magento 2.1.3 설치 file 2017.01.30 1097
587 postgresql-9.4에서 FATAL: remaining connection slots are reserved for non-replication superuser connections가 나올때 조치 2018.08.16 1085
586 oozie 에서 sqoop action실행 에러 - 컬럼개수 차이 2014.07.17 1081
585 특정파일이 생성되어야 action이 실행되는 oozie job만들기(coordinator.xml) 2014.05.20 1080
584 mybatis와 spring을 org.apache.commons.dbcp2.BasicDataSource의 DataSource로 연동할때 DB설정(참고) 2016.10.31 1074
583 Using The ZooKeeper CLI에서 zkCli의 위치 2014.11.02 1057
582 hadoop 기반 문서 검색 2014.09.25 1049
위로