Transcription of GIT CHEA - gitee.com
{{id}} {{{paragraph}}}
Fournova GIT CHEAT SHEET.. presented by TOWER Version control with Git - made easy CREATE BRANCHES & TAGS MERGE & REBASE. Clone an existing repository List all existing branches Merge <branch> into your current HEAD . $ git clone $ git branch -av $ git merge <branch>. Create a new local repository Switch HEAD branch Rebase your current HEAD onto <branch>. $ git init $ git checkout <branch> Don t rebase published commits! $ git rebase <branch> . Create a new branch based LOCAL CHANGES on your current HEAD Abort a rebase $ git branch <new-branch> $ git rebase --abort Changed files in your working directory $ git status Create a new tracking branch based on Continue a rebase after resolving conflicts a remote branch $ git rebase --continue Changes to tracked files $ git checkout --track <remote/bran- $ git diff ch> Use your configured merge tool to solve conflicts.
BEST PRACTICES V ONTROL 30-day free trial available at www.git-tower.com fournova Version control with Git - made easy COMMIT RELATED CHANGES A commit should be a wrapper for related
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}