728x90 반응형 2019/08/015 Set a new git repository 1. git init $ git init 2. git add $ git add . 3. git commit $ git commit -m 'first commit' 4. Create a new git repository Go to http://github.com and Create a new git repository 5. Add remote & Push $ git remote add origin https://github.com/username/repo $ git push -u origin master 6. Check it out on your repository. 2019. 8. 1. [Git] Add git branch Add git remote branch git push -u origin Add git local branch $ git branch 2019. 8. 1. [Git] Delete git branch Delete git remote branch $ git push --delete origin Delete git local branch $ git branch -d $ git branch -D 2019. 8. 1. fatal: refusing to merge unrelated histories using below command fatal: refusing to merge unrelated histories 2019. 8. 1. 이전 1 2 다음 728x90 반응형