Git & GitHub

[Git] 2. Git 다운로드 및 설치

Let it out 2024. 1. 26. 09:54

- git 다운로드 링크

https://git-scm.com/downloads

 

Git - Downloads

Downloads macOS Windows Linux/Unix Older releases are available and the Git source repository is on GitHub. GUI Clients Git comes with built-in GUI tools (git-gui, gitk), but there are several third-party tools for users looking for a platform-specific exp

git-scm.com

 

 

 

- git 설치 방법

1. 자신의 운영체제 선택

 

 

 

2. 본인 운영체제 bit에 맞게 setup 클릭

 

 
 
 

3. Next

 

 

 
 

 

 
 

4. Next

 
 

 

 

5. Next

 
 
 
 

 

 

6. Next 
Don't create a Start Menu folder 체크 시 윈도우 키 누르면 나오는 시작 메뉴에 git이 안 뜸.

 

 
 

 

 

7. Next
(에디터 편집기 선택인데 git 처음 사용 한다면 기본인 Use Vim 선택)

 

 

 

 

 


8. 이제 Next를 다 눌러주면 아래 화면이 나온다.
(View Release Note는 업데이트 페이지 나오는 거이므로 해제후 Finish 클릭)


 
 
 
 
 
 

- git 설치 확인

 
 

1. 시작 버튼 눌러 Git Bash를 입력 후 실행

 
 
 
  

git bash 화면이 나온다.

 
 
 
 

 

2. $ 옆에 git 입력 후 엔터 키를 누른다.

 
 
 
 

 

 
 

3. Git 기본 명령어 안내가 나오면 설치 성공이다.

 
 
 
 
 
usage: git [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           [--config-env=<name>=<envvar>] <command> [<args>]

These are common Git commands used in various situations:

start a working area (see also: git help tutorial)
   clone     Clone a repository into a new directory
   init      Create an empty Git repository or reinitialize an existing one

work on the current change (see also: git help everyday)
   add       Add file contents to the index
   mv        Move or rename a file, a directory, or a symlink
   restore   Restore working tree files
   rm        Remove files from the working tree and from the index

examine the history and state (see also: git help revisions)
   bisect    Use binary search to find the commit that introduced a bug
   diff      Show changes between commits, commit and working tree, etc
   grep      Print lines matching a pattern
   log       Show commit logs
   show      Show various types of objects
   status    Show the working tree status

grow, mark and tweak your common history
   branch    List, create, or delete branches
   commit    Record changes to the repository
   merge     Join two or more development histories together
   rebase    Reapply commits on top of another base tip
   reset     Reset current HEAD to the specified state
   switch    Switch branches
   tag       Create, list, delete or verify a tag object signed with GPG

collaborate (see also: git help workflows)
   fetch     Download objects and refs from another repository
   pull      Fetch from and integrate with another repository or a local branch
   push      Update remote refs along with associated objects

'git help -a' and 'git help -g' list available subcommands and some
concept guides. See 'git help <command>' or 'git help <concept>'
to read about a specific subcommand or concept.
See 'git help git' for an overview of the system.

skek1@DESKTOP-TR2SHG9 MINGW64 ~
$
 
 
 

 

반응형