git remote update
후 git checkout -t origin/feature
git fetch origin && git checkout release-v4.4.2 && git pull origin release-v4.4.2
git checkout DBT-332-integration-test
git merge release-v4.4.2
git commit
git push origin DBT-332-integration-test
git tag
git tag -l v1.1.*
git tag v1.1.0
git tag -d {태그명}
git push --delete origin {태그명}
git log --oneline --graph --tags
http://minsone.github.io/git/git-addtion-and-modified-delete-tag
git clone git@github.com:whatever folder-name
git branch -m new-name
git branch -m old-name new-name
https://multiplestates.wordpress.com/2015/02/05/rename-a-local-and-remote-branch-in-git/
git branch --delete feature-01
git branch -D feature-01
git push origin :feature-01
git remote -v
git remote set-url {URL} {repository name(ex:origin)} {주소}
git diff <masterbranch_path> <remotebranch_path>
git diff master origin/master
https://stackoverflow.com/questions/1800783/how-to-compare-a-local-git-branch-with-its-remote-branch
—check
option 추가git remote update
명령을 통해 remote branch에 있는 내용을 최신화 한다.git cherry-pick 2k334hk2
좀 더 알아보고 주의해서 사용해야 함
https://www.devpools.kr/2017/02/05/초보용-git-되돌리기-reset-revert/
git revert 1hf3hh
https://stackoverflow.com/questions/14274293/show-current-state-of-jenkins-build-on-github-repo
git stash clear
git stash save "my name"
git stash pop stash@{n}
https://gmlwjd9405.github.io/2018/05/25/git-add-cancle.html
git reset HEAD [file]
git ls-files
git branch -a
# 복구할 버전 확인
git reflog
# Move the current head so that it's pointing at the old commit
# Leave the index intact for redoing the commit.
# HEAD@{1} gives you "the commit that HEAD pointed at before
# it was moved to where it currently points at". Note that this is
# different from HEAD~1, which gives you "the commit that is the
# parent node of the commit that HEAD is currently pointing to."
git reset --soft HEAD@{1}
# commit the current tree using the commit details of the previous
# HEAD commit. (Note that HEAD@{1} is pointing somewhere different from the
# previous command. It's now pointing at the erroneously amended commit.)
git commit -C HEAD@{1}
https://stackoverflow.com/a/1459264
git ls-tree -r {branch name} --name-only
git ls-tree -r gitignore --name-only
git checkout file/path/you/want/