View
1.911
Download
1
Category
Preview:
Citation preview
� @afu ���https://www.youtube.com/watch?v=_yQlKEq-Ueg
Develop Repository
Develop Develop
Develop Repository
Office Repository
Develop
Develop Repository
Fork
Develop Repository
Develop Develop
Develop Repository
Office Repository
Develop
Develop Repository
Commit
Develop Repository
Develop Develop
Develop Repository
Office Repository
Develop
Develop Repository
Pull Request
http://www.slant.co/topics/465/compare/~the-command-line_vs_sourcetree_vs_tower-2
https://www.facebook.com/groups/git.tw/permalink/991589810889687/?qa_ref=qd
http://www.slant.co/topics/153/compare/~github_vs_gitlab_vs_bitbucket
# ¡M log �¦��ì¾ git ⇒ git config --global user.name weitsai
# ¡M±Ý-Aà git ⇒ git config --global user.email begining1003@gmail.com
git | master ⇒ git cat-file -t 9daeafb9864cf43055ae93beb0afd6c7d144bfa4 blob
git | master ⇒ git cat-file -p 9daeafb9864cf43055ae93beb0afd6c7d144bfa4 test
git | master ⇒ git commit -m ‘Add test file’ [master (root-commit) 77f64af] Add test file 1 file changed, 1 insertion(+) create mode 100644 test.md
git | master ⇒ git cat-file -t 77f64af commit
git | master ⇒ git cat-file -p 77f64af
git | master ⇒ git cat-file -p 9098a4 100644 blob 9098a46b8a3cb674c82833688dfb5c77995053c2 test.md
git | master ⇒ git cat-file -t 9098a4 tree
# �F�uÉ�iÑÛk git | master ⇒ git remote add origin {repo_url}
# å¼�uÉ�iÑÛk git | master ⇒ git remote rm origin
# ��uÉ�iÑÛk git | master ⇒ git remote -v
# �F�uÉ�iÑÛk git | master ⇒ git push origin master
# ��uÉ�iÑÛk git | master ⇒ git pull origin master
# ��uÉ�iÑÛk git | master ⇒ git clone {repo_url}
# � commit ��Q�#��7�˯ git | master ⇒ git commit -v
# �Ï��FçÑ git | master ⇒ git add -p
# ftRK·� git | master ⇒ git checkout -f
# �� commit ˯ git | master ⇒ git log
# º�·��l{ git | master ⇒ git log -p
# Ç�×.... git | master ⇒ git blame
# ª©��!� git | master ⇒ git checkout -b test
# ®$H%É�!� git | test ⇒ git branch # ®$L�!� í�Ó remote repo) git | test ⇒ git branch -a # �L�!�"1� commit git | test ⇒ git branch -vv
# @�K� commit �Ð� git | master ⇒ git reset HEAD~1
# @�K? commit �Ð� git | master ⇒ git reset HEAD^^
# �~¦�@æ� commit çÑ git | master ⇒ git reset —hard
# ^�³�; commit git | master ⇒ git revert HEAD~1
# &³!�:mëí���ʨî git | master ⇒ git merge —no-f q[branch]
# ' commit ˯:·� git | master ⇒ git rebase -i [commit]
git | master ⇒ echo ‘ � GUI � GIT’ > README.md git | master⚡ ⇒ git add README.md git | master⚡ ⇒ git commit -m ‘Add README’
git | master ⇒ git checkout -b conflict git | conflict ⇒ echo ‘,� GUI � GIT’ > README.md git | conflict ⚡ ⇒ git add README.md git | conflict ⚡ ⇒ git commit -m ‘Update README’
git | conflict ⇒ git checkout master git | master ⇒ echo ‘�� GUI � GIT’ > README.md git | master ⚡ ⇒ git add README.md git | master ⚡ ⇒ git commit -m ‘Update README(master)’
git | master ⇒ git checkout conflict git | conflict ⇒ echo ‘,� GUI � GIT’ > README.md git | conflict ⚡ ⇒ git add README.md git | conflict ⚡ ⇒ git commit -m ‘Update README(conflict)’
https://www.flickr.com/photos/appleboy/5488984404
Master - ÞMxH Develop - *(�xH
Feature - X����� Release - ·X develop bug Hotfix - «Ö·X master bug
• j&l{t�E
• j�e� 50 �n
• j*O���Á
• j��P���
• j¬g�-�#Z���aí��dê�î
• l{�E"�� 72 �n
• l{¬g|Ü�5� �:ïc�:�ï
https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/
# OS X git | master ⇒ git config --global core.autocrlf input
# Windows git | master ⇒ git config --global core.autocrlf true
https://help.github.com/articles/remove-sensitive-data/
# å¼á8W¢¸ git ⇒ git filter-branch --force --index-filter \ 'git rm --cached --ignore-unmatch *.md' \ --prune-empty --tag-name-filter cat -- --all
# ^�U� SVN iÑ svn ⇒ git svn clone -r HEAD {Repo URL}
# °`·��Æ�#[Dy� SVN Server git | master⚡ ⇒ git svn rebase
# N²��V� Server � git | master⚡ ⇒ git svn dcommit
�§Gã• Git Book
• A successful Git branching model (Gitflow)
• iHower - !�*(\²&ßÔ
• How to Write a Git Commit Message
• Generating a new SSH key and adding it to the ssh-agent
Recommended