본문 바로가기 메뉴 바로가기

Decaffein codes

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Decaffein codes

검색하기 폼
  • 분류 전체보기 (53)
    • Programming (44)
      • ElasticSearch (10)
      • GCP (5)
      • MongoDB (4)
      • Python (4)
      • Redis (4)
      • Java (3)
      • Tools (14)
    • English (2)
    • OS (4)
    • AWS (3)
  • 방명록

git (2)
git repository commit 내역 reset 하고 새로 시작하기

Delete the .git directory locally. Recreate the git repostory: $ cd (project-directory) $ git init $ (add some files) $ git add . $ git commit -m 'Initial commit' 3. Push to remote server, overwriting. Remember you're going to mess everyone else up doing this … you better be the only client. $ git remote add origin $ git push --force --set-upstream origin master

Programming/Tools 2020. 10. 19. 15:20
git 모든 remote branch 가져오기

git branch -a | grep -v HEAD | perl -ne 'chomp($_); s|^\*?\s*||; if (m|(.+)/(.+)| && not $d{$2}) {print qq(git branch --track $2 $1/$2\n)} else {$d{$_}=1}' | csh -xfs https://stackoverflow.com/questions/67699/how-to-clone-all-remote-branches-in-git

Programming/Tools 2018. 4. 23. 20:15
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • spring #lombok
  • Netty
  • GCP
  • PIP
  • docker-machine
  • MacOS
  • X-Pack
  • scrapy
  • Ansible
  • kubernetes
  • zsh
  • Spring Boot
  • 은전한닢
  • TDD
  • MongoDB
  • mecab
  • pymongo
  • ansible-container
  • Paw
  • PubSub
  • IntelliJ
  • docker
  • git
  • boot2docker
  • AWS
  • pycharm
  • xpath
  • Elasticsearch
  • Python
  • Redis
more
«   2025/10   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바