Skip to content

Instantly share code, notes, and snippets.

@NeedPainkiller
Last active September 5, 2019 06:19
Show Gist options
  • Save NeedPainkiller/42b0dd6d96b7473436c733202644d42b to your computer and use it in GitHub Desktop.
Save NeedPainkiller/42b0dd6d96b7473436c733202644d42b to your computer and use it in GitHub Desktop.
Git 테스트
// git reset hard
git fetch
git reset --hard "커밋 ID"
// git remote 확인
git remote -v
// git remote 재설정
git remote remove origin
git remote add origin "계정명"@"repo 경로"
// remote 확인
git branch
git checkout master
// 업스트림 세팅
git branch --set-upstream-to=origin/master master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment