生物系研究者のpythonとか画像解析とか論文とか

主に生物系研究で使えるpythonとか画像解析とか論文の話とかをザックリ書きます

スポンサードリンク

git clone から push まで

いつもgit cloneからpushするまでの手順がうろ覚えで不安になるのでメモ

まずclone

git clone {URL}

branchの一覧

git branch -a

更新したいbranchが既にある場合は

git checkout {branch}

ない場合は

git branch -b {branch}

リモートブランチに登録

git push -u origin {branch}

変更したファイルを指定

git add {file}

変更をcommit

git commit -m '{comment}'

push

git push orgin {branch}
スポンサードリンク