8000 GitHub - vamboo26/git-commands: 자주 사용하는 Git 명령어 정리 🔍
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

vamboo26/git-commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

git-commands

명령어

Getting and Creating Projects

git init
git clone {remote url}

Basic Snapshotting

git status
git add .
git commit -m "{commit message}"
git commit --amend
git reset --hard HEAD
git reset --hard HEAD^
git reset --hard HEAD~{the number of commits}

Branching and Merging

git branch -m {new branch name}
git checkout {branch name}
git checkout -t {remote name}/{branch name}
git checkout -b {branch name}
git checkout -D {branch name}
git log
- git stash save (deprecated)
+ git stash push
git stash pop
git stash apply

Sharing and Updating Projects

git fetch
git pull
git push -u {remote name} HEAD
git push {remote name} :{branch name}
git push {remote name} --delete {branch name}
git remote -v
< 5600 div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="git remote add {remote name} {remote url}">
git remote add {remote name} {remote url}
git remote set-url {remote name} {new remote url}

Inspection and Comparison

git log

Patching

git rebase {branch name}
git rebase -i HEAD~{the number of commits}
git revert {commit ID}

참고

About

자주 사용하는 Git 명령어 정리 🔍

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0