Pushing Code Changes
git status
git diff FILE_PATH
git add
, git commit some_message_here
, git push
git commit -am 'YOUR_COMMIT_MESSAGE'
git push
, git push remote_name_my_local_branch_name:remote_branch_name
Dealing With Other People's Code
git fetch REMOTE_NAME
git cherry-pick COMMIT_ID
git stash
, git stash apply
, git stash list
Branches
git branch
git branch -av
git checkout BRANCH_NAME
git checkout -b BRANCH_NAME
Remotes
git remote add NAME_OF_REMOTE_REMOTE_URL
Checking Your Remotes git remote -v
'Git , Github' 카테고리의 다른 글
[ Git ]git init 취소하기 (0) | 2023.11.03 |
---|---|
[ Git ] git mirror (0) | 2023.10.25 |
[ Git ] Git Commit Message Conventions (1) | 2023.10.22 |