Coder Social home page Coder Social logo

newbie's Introduction

GIT 시작하기

git을 시작하는 가장 쉬운 방법

(진짜 시작만 하는 거예요 ^^;;)

1. git을 설치한다.

http://msysgit.github.com/
여기서 다운받으세요 :)

2. cmd(terminal)창에서 이름, 메일주소 설정하고 확인

git config --global user.name "이름"
git config --global user.email 깃허브 메일주소
git config --list

3. git 폴더를 만들 상위폴더로 가서 git폴더를 만듬

cd C:\
mkdir git
(git에 연동시킬 폴더를 만들어주세요)

4. git 폴더로 이동해서 git 을 이용할 디렉토리로 지정

cd git
(git에 연동시킬 폴더(위에서 만든)로 들어가주세요)
git init

5. github 에 생성한 저장소들 내려받기, 해당 폴더로 이동

git clone git://github.com/smallerhand/python1.git
cd python1

6. 내가 만든 파이썬 파일들 해당 폴더로 옮긴 다음에 add, commit, push

git add *.py
(만약 모든 형식의 파일을 올리고 싶다면, *.py 대신 -A 또는 --all을 씁니다. git add -A 이렇게.)
git commit -m all
git push https://github.com/smallerhand/python1.git

7. github 상에서 python1 repository안에 있는 파일을 수정했을 때.

cd python1
git pull https://github.com/smallerhand/python1.git

이상 git의 제일 basic한 사용법이었습니다.

참고

https://nolboo.kim/blog/2013/10/06/github-for-beginner/
https://git-scm.com/book/ko/v1/Git%EC%9D%98-%EA%B8%B0%EC%B4%88

newbie's People

Contributors

smallerhand avatar suwonyu avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.