### Git
####
1. ##### SVN :
+ ,
+ ,SVN ,
2. ##### GIT :
+ ,
+ ,,,
#### git
1. #####
1. :
2. :
3. :
2. ##### ()
1. git,,,.
#### ()
1. Github :
2. Gitlab :
3. :
####
1. #####
```
ssh-keygen -t rsa
```
2. #####
```
cat ~/.ssh/id_rsa.pub
#
```
3. ##### github --> setting --> SSH and GPG keys
4. #####
```
git config --global user.name #
git config --global user.email #
```
5. ##### ssh
```
git clone ssh
```
####
1. ##### `git status` :
2. ##### `git add /./*/-A` :
3. ##### `git commit -m /.` : ,
4. ##### `git push` : ,
5. ##### `git diff` :
6. ##### `git log / reflog` :
7. ##### `git reset --hard commit` : ****,
8. ##### `git restore ` :
9. ##### `git restore --staged ` :
#### ( master )
1. ##### git
2. ##### ,
3. ##### bug
4. ##### ,,
5. #####
+ **master ** : , master , master
+ **develop ** : ,
+ **feature ** :
+ **release ** :
+ **hotfix ** : bug, develop , master
6. #####
1.
```
git branch -a
```
2.
```
git branch
```
3.
```
git checkout
```
4.
```
git branch -d
```
7. #### ()
```
#
git merge
```
+ ()
1.
2.
3. ,
+ commit
####
1. #####
1.
```
git init
```
2.
```
git remote add origin
```
3.
```
git remote
```
2. #####
+ ,,,
```
git pull --rebase origin master
```
3. #####
```
git remote remove origin
```