Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 998 Bytes

File metadata and controls

46 lines (33 loc) · 998 Bytes

###add

git add **/*.conf

###commit git commit git commit —amend : commit直前の状態に戻す

###push git push <remote_name> git push <remote_name> : git push —tags <remote_name> git push —delete tag_name ###clone git clone ssh://user@host:port/path/to/repo.git git clone https://host:port/path/to/repo.git git clone file:///path/to/repo.git/ ###branch git branch git branch -r <remote_name> git branch -a git branch <branch_name> :ローカルブランチ作成 git branch -d <branch_name> git branch -r -d <remote_name>/<branch_name> git branch -m <old_branch> <new_branch> ###checkout git checkout git checkout -b git checkout ###fetch git fetch <remote_name> git fetch —all git fetch -p ###pull git pull <remote_name> git pull origin master