하루하나
close
프로필 배경
프로필 로고

하루하나

  • ALL (217)
    • 쿠베플로우 kubeflow (1)
    • React Native (1)
      • Expo (1)
    • Programming (187)
      • spring+jwt+react (4)
      • wordpress (3)
      • Vultr (1)
      • Flutter (3)
      • Vue-project (1)
      • Vue-tip (17)
      • AngularJS (12)
      • Bootstrap (2)
      • Book (1)
      • CentOS (5)
      • Code (0)
      • Css (13)
      • Docker (7)
      • Eclipse (1)
      • Freemarker (1)
      • Git (9)
      • Front-End (6)
      • Error (7)
      • Gulp.js (0)
      • Java (12)
      • Python (5)
      • Javascript (19)
      • JPA (5)
      • jQuery (2)
      • Mac (6)
      • MySql (4)
      • Springboot (21)
      • Springboot-blog (0)
      • Daily (1)
      • Springboot-tip (3)
      • Spring (1)
      • Thymeleaf (1)
      • Tomcat (1)
      • Typescript (3)
      • Tool (5)
      • Sql (1)
      • prisma (1)
      • react (1)
    • Life (14)
      • Review (0)
      • Tip (3)
      • 리뷰 (8)
      • 부동산 (2)
  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록

[Git] remote: Invalid username or password.

비밀번호를 바꾸고 나서 git에 권한있는 동작을 시도하려고 할때 생기는 오류 로컬 깃에 변경된 비밀번호 반영은 생각보다 훨씬 쉬웠다. 우선 해당 계정을 사용중인 아무 로컬 저장소로 이동하자. 그 후 아래 명령어를 입력하면 Github 인증이 초기화 된다. % git config --unset credential.helper 이제 다시 Push를 진행하면 계정과 비밀번호를 요구할것이다. % git push origin master 새롭게 로그인 후 사용하면 된다.

  • format_list_bulleted Programming/Git
  • · 2023. 2. 20.
  • textsms

git remote branch 일괄삭제

- local 브런치 일괄삭제 git branch -D $(git branch --list 'feature/*') - 불필요한 remote branch를 일괄삭제하는 방법 (branch 부분을 적당히 변경하면 된다) git branch -r | grep -Eo 'feature/.*' | xargs -I {} git push origin :{} - 삭제한 remote branch와 local branch를 동기화 하려면 아래 명령어 이용 git fetch --all --prune git remote prune origin

  • format_list_bulleted Programming/Git
  • · 2020. 12. 7.
  • textsms

[Git] merge 실수로 데이터 날라갔을때.. / git reflog

merge 혹은 rebase 중 실수로 내가 작업한 파일을 덮어썼을때.. (멘붕..) git reflog --date=iso 로 commit log를 확인하고 롤백한 commit log로 체크아웃 해준 후에 다시 돌려 놓는다.

  • format_list_bulleted Programming/Git
  • · 2019. 3. 14.
  • textsms

[Git] 기존 프로젝트 repository에 올리기

repository를 미리 생성해 놓고 작업 디렉토리로 이동 >> git init>> git add .>> git commit -m "first commit">> git remote add origin .git>> git push origin master >> git id/password 입력

  • format_list_bulleted Programming/Git
  • · 2017. 1. 10.
  • textsms

[Git] checkout

기본명령어 - checkout>> git checkout - file add>> git add * >> git add test.java // 특정파일만 등록할 때 - commit>> git commit -m "commit message" - push>> git push origin master

  • format_list_bulleted Programming/Git
  • · 2016. 12. 20.
  • textsms

[git] git pull 에러

github에 새로운 프로젝트를 푸시하기 위해서 아래와 같이 pull 명령어를 실행했더니 에러가 표시되었다. >> git pull origin master-- fatal: refusing to merge unrelated histories 이럴 경우 아래와 같이 옵션을 주어 pull 받도록 하자 git pull origin branchname --allow-unrelated-histories 이렇게 에러가 떨어지는 이유는 아래와 같다고 한다..... (시간날떄 해석을....) "git merge" used to allow merging two branches that have no common base by default, which led to a brand new history of an existi..

  • format_list_bulleted Programming/Git
  • · 2016. 11. 10.
  • textsms
  • navigate_before
  • 1
  • 2
  • navigate_next
반응형
공지사항
전체 카테고리
  • ALL (217)
    • 쿠베플로우 kubeflow (1)
    • React Native (1)
      • Expo (1)
    • Programming (187)
      • spring+jwt+react (4)
      • wordpress (3)
      • Vultr (1)
      • Flutter (3)
      • Vue-project (1)
      • Vue-tip (17)
      • AngularJS (12)
      • Bootstrap (2)
      • Book (1)
      • CentOS (5)
      • Code (0)
      • Css (13)
      • Docker (7)
      • Eclipse (1)
      • Freemarker (1)
      • Git (9)
      • Front-End (6)
      • Error (7)
      • Gulp.js (0)
      • Java (12)
      • Python (5)
      • Javascript (19)
      • JPA (5)
      • jQuery (2)
      • Mac (6)
      • MySql (4)
      • Springboot (21)
      • Springboot-blog (0)
      • Daily (1)
      • Springboot-tip (3)
      • Spring (1)
      • Thymeleaf (1)
      • Tomcat (1)
      • Typescript (3)
      • Tool (5)
      • Sql (1)
      • prisma (1)
      • react (1)
    • Life (14)
      • Review (0)
      • Tip (3)
      • 리뷰 (8)
      • 부동산 (2)
최근 글
인기 글
최근 댓글
태그
  • #css
  • #GIT
  • #JPA
  • #AngularJS
  • #error
  • #MySQL
  • #sts
  • #springboot
  • #javascript
  • #Vue
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바