중요한 Git 명령 및 튜토리얼

Git 명령에 대한 도움말을 얻는 방법

자식 도움말 [-a|–all|-i|–info|-m|–man|-w|–web] [COMMAND]

예: 자식 도움말 자식

브라우저를 시작하고 HTML로 도움말을 표시합니다.

로컬 저장소 설정 및 초기 푸시 수행:

cd my_project
git init
git add *
git commit -m "My initial commit message"
git remote add origin git@example.com:my_project.git
git push -u origin master

체크아웃 저장소

git clone git://github.com/schacon/grit.git

로컬 저장소에 변경 사항을 커밋하려면 커밋보다 추가만 하면 됩니다. 로컬 브랜치/변경 사항을 원격 저장소에 푸시하려면 아래 푸시 명령을 수행하세요.

git add --all

git commit --all

git push

저장소 명령으로 푸시

git push <remote> <local branch name>:<remote branch to push into>
git push [--all | --mirror | --tags] [--follow-tags] [-n | --dry-run] [--receive-pack=]
           [--repo=] [-f | --force] [--prune] [-v | --verbose] [-u | --set-upstream]
           [--force-with-lease[=[:]]]
           [--no-verify] [ […]]

다음 링크에서 추가 명령을 찾을 수 있습니다.

20개의 명령이 포함된 Everyday Git

https://www.kernel.org/pub/software/scm/git/docs/everyday.html

좋은 Git 튜토리얼

튜토리얼 1 첫 번째 만들기 – http://git-scm.com/docs/gittutorial

튜토리얼 2초 만들기 – http://git-scm.com/docs/gittutorial-2.html

추가 튜토리얼 – http://www.vogella.com/tutorials/Git/article.html#firstgit_repostatus

2 responses to “중요한 Git 명령 및 튜토리얼”

  1. I wanted to thank you for this wonderful read!!
    I definitely loved every bit of it. I have got
    you book-marked to check out new stuff you post…

  2. Wow, this paragraph iѕ pleasant, my younger
    sisster iss analyzing these kinds oof things,
    thus I am going to inform her.

답장을 남겨주세요

다음과 같이 설계되었습니다. 워드프레스 | 개인 정보 보호 정책 | 나를 위한 | 블로그 지원