Skip to content

๐Ÿ“š GIT ์‚ฌ์šฉ๋ฒ•์„ ๋ฐฐ์›Œ ๋ด…์‹œ๋‹ค ๐Ÿ”ฅ

Notifications You must be signed in to change notification settings

sustainable-git/GIT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

86 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€GIT ์‚ฌ์šฉ๋ฒ•๐Ÿ›ฐ

Contents

  • GIT ์„ค์ •ํ•˜๊ธฐ๐Ÿ› 
    • git config --global user.name "์ด๋ฆ„"
    • git config --global user.email "์ด๋ฉ”์ผ"
    • git config --global --edit"
      • git config --global core.autocrlf input(Mac)
      • git config --global core.autocrlf true(Window)
      • git config --global core.editor "xed --wait"(Xcode)
      • git config --global core.editor "code --wait"(Visual Studio Code)

  • Rebase์™€ Cherry-Pick๐Ÿ’
    • git rebase ๋ธŒ๋žœ์น˜๋ช…
      • git rebase ๋ธŒ๋žœ์น˜๋ช… ๋ธŒ๋žœ์น˜๋ช…
      • git rebase --onto ๋ธŒ๋žœ์น˜๋ช… ๋ธŒ๋žœ์น˜๋ช… ๋ธŒ๋žœ์น˜๋ช…
      • git rebase --abort
      • git rebase --continue
    • git cherry-pick ํ•ด์‹œ์ฝ”๋“œ

  • GIT ๋„๊ตฌ - Stash, Cleanโ›
    • git stash push -m "์Šคํƒœ์‹œ ๋ฉ”์‹œ์ง€"
      • git stash
      • git stash -u
      • git stash --keep-index
    • git stash list
      • git stash show ์Šคํƒœ์‹œ
      • git stash show ์Šคํƒœ์‹œ --patch
    • git stach apply ์Šคํƒœ์‹œ
      • git stash pop ์Šคํƒœ์‹œ
    • git stash drop ์Šคํƒœ์‹œ
      • git stash clear
    • git stash branch ๋ธŒ๋žœ์น˜๋ช…
    • git clean
      • git clean -fd
      • git clean -x
      • git clean -d -n

  • GIT ๋„๊ตฌ - RefLog๐Ÿ“œ
    • git reflog
      • git reflog expire --expire=์‹œ๊ฐ„ --all
    • git show HEAD@{์ˆซ์ž}
    • git show ๋ธŒ๋žœ์น˜๋ช…@{์‹œ๊ฐ„}

About

๐Ÿ“š GIT ์‚ฌ์šฉ๋ฒ•์„ ๋ฐฐ์›Œ ๋ด…์‹œ๋‹ค ๐Ÿ”ฅ

Topics

Resources

Stars

Watchers

Forks