べすとえふぉーと

プログラミング等のノート 

Git

Bitbucketからクローン

Git

git clone https://user@bitbucket.org/user/repository.git

gitのログから変更したファイルを抽出してcsvに出力

git log $starthash...$endhash --name-only \ | grep -e "src" -e "config" \ | grep -v "exclude_string_1" \ | grep -v "exclude_string_2" \ | sort \ | uniq \ | xargs find > ../pathlist.txt 2>/dev/null ; cat ../pathlist.txt \ | awk -F "/" '{ pr…

Gitでbranch

Git

branch作成 git branch test 一覧 git branch ブランチを変更 git checkout test 反映 git add . git commit -m “comment" Push git push -u origin test masterに取り込む git checkout master git merge test