Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

GIT Workflows

120 views

Published on

Git was created by Linus Torvalds in 2005 for the development of the Linux kernel, with other kernel developers contributing to its initial development.

Published in: Technology
  • Be the first to comment

GIT Workflows

  1. 1. GIT WORKFLOWS Nguyễn Hữu Hiền – CTO hiennh@bravebits.vn All rights reserved © BraveBits JSC
  2. 2. GIT WAS CREATED BY LINUS TORVALDS Git was created by Linus Torvalds in 2005 for development of the Linux kernel, with other kernel developers contributing to its initial development.
  3. 3. TEXT CENTRALIZE WORKFLOW
  4. 4. DICTATOR WORKFLOWS
  5. 5. LET’S FORK
  6. 6. PULL REQUEST
  7. 7. FORK A PROJECT IN BITBUCKET
  8. 8. If someone has made changes to the original repository since you forked it, you will see that your forked repository is one or more commits behind the original. If that is the case, to update your repository, click Sync now and then Sync on the popup that appears. If you want to see the differences between your current repository and the original repository, click the Diff tab to compare changes. If there are multiple commits, you see their cumulative changes by file in this section. Click the Side-by-side diff button to see changes displayed side-by-side. Or press the View file button to view the full file in Bitbucket. FORK A PROJECT IN BITBUCKET
  9. 9. CREATE PULL REQUEST
  10. 10. MERGE PULL REQUEST ▸  (Optional) Update the Commit message with more details. ▸  (For Git repositories only) Select a Merge strategy from the two options: ▸  Merge commit—Keeps all commits from your source branch and makes them part of the destination branch. This option is the same as entering git merge --no-ff in the command line. ▸  Squash—Combines your commits when you merge the source branch into the destination branch. This option is the same as entering git merge --squash in the command line. ▸  (Optional) If you're merging two branches in the same repository, you can select the Close source branch checkbox to remove the branch from the list of repository branches. ▸  Click the Merge button.
  11. 11. Decline a pull request Declining a pull request cannot be undone. Once you decline a pull request you will have to open a new pull request request to continue a review. Declining a pull request has no effect on the branches (source or destination) so the changes in the source branch are still in that source branch. DECLINE A PULL REQUEST
  12. 12. Visit us at http://www.bravebits.co/join-us

×