{"id":22309705,"url":"https://github.com/nesoy/gittraining","last_synced_at":"2026-03-19T22:23:06.588Z","repository":{"id":108936146,"uuid":"77464767","full_name":"NESOY/GitTraining","owner":"NESOY","description":null,"archived":false,"fork":false,"pushed_at":"2017-02-18T15:00:00.000Z","size":22487,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T23:18:59.494Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NESOY.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-27T15:25:47.000Z","updated_at":"2017-01-26T08:21:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"810a2cc9-c22f-4a78-83a4-c621565f7f64","html_url":"https://github.com/NESOY/GitTraining","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NESOY%2FGitTraining","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NESOY%2FGitTraining/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NESOY%2FGitTraining/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NESOY%2FGitTraining/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NESOY","download_url":"https://codeload.github.com/NESOY/GitTraining/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245573841,"owners_count":20637670,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-03T20:44:27.122Z","updated_at":"2026-01-06T00:40:51.222Z","avatar_url":"https://github.com/NESOY.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git Command\n\u003e (2017-02-02 Update Version) \n\n1. Option 정보\n\n```shell\n -- : Long Name Option\n - : Short Name Option\n```\n\n2. 기존 계정 정보 삭제\n\n```shell\n$ git config --global --unset credential.helper\n$ git config --system --unset credential.helper\n```\n\n3. 계정 설정\n\n```shell\n$ git config user.email \"kyoje11@gmail.com\"\n$ git config user.name \"Kwon Young Jae\"\n```\n\n4. 설정확인\n\n```shell\n$ git config --list\n$ git config user.email;\n$ git config user.name;\n```\n\n5. 도움말 보기\n\n```shell\n$ git help 명령어\n```\n\n6. git 상태 확인\n\n```shell\n$ git status\n$ git status -s (Short View)\n```\n\n7. 파일 무시하기\n.gitignore 파일 생성후 무시 파일 패턴 적기\nNesoy Posting : \u003chttps://nesoy.github.io/articles/2017-01/Git-Ignore\u003e\n\n8. git 저장소 만들기\n\n```shell\n$ git init\n```\n\n9. commit 과정\n\n```shell\n$ git add testFileName\n$ git commit -m \"First Commit Message\"\n$ git commit -sm \"서명을 포함한 commit\"\n$ git commit -a -m \"First Commit Message\" (Add 과정 포함)\n```\n\n10. 파일 삭제하기\n\n```shell\n$ git rm FileName\n```\n\n11. History 조회하기\n\n```shell\n$ git log\n$ git shortlog\n```\n\n12. 되돌리기\n\n```shell\n$ git commit --amend (이전 커밋으로 한번에 한다)\n```\n\n13. Unstage로 변경하기\n\n```shell\n$ git reset HEAD FileName\n```\n\n14. Remote 저장소\n\n```shell\n$ git remote -v (단축이름과 URL을 볼 수 있다.)\n$ git remote add 단축이름 URL\n```\n\n15. branch 만들기 및 확인\n\n```shell\n$ git branch\n$ git branch testing\n```\n\n16. branch 이동하기\n\n```shell\n$ git checkout otherBranch\n```\n\n17. branch 삭제하기\n\n```shell\n$ git branch -d branchName\n```\n\n18. git merge 하기\n\n```shell\n$ git checkout master\n$ git merge BranchName\n```\n\n19. git branch commit message 보기\n\n```shell\n$ git branch -v\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnesoy%2Fgittraining","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnesoy%2Fgittraining","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnesoy%2Fgittraining/lists"}