background preloader

Git

Facebook Twitter

A Rebasing Workflow. @emmajanehw www.gitforteams.com tl;dr on rebasingRant why I hate rebasingRave why I love rebasingWrap-upQ&A (too long; didn't listen) Forward-port local commits to the updated upstream head.

A Rebasing Workflow

Versioning schemes and branching models for Continuous Delivery - Con… 分支的衍合. Continuous Integration: Servers and Tools - DZone - Refcardz. Configure Gerrit We are going to create two user accounts in Gerrit.

Continuous Integration: Servers and Tools - DZone - Refcardz

One representing a development team lead and another representing a developer. 1. Connect to Gerrit via Select the New Account button under the Register heading Enter Team Lead for the full name and click the Save Changes button Enter teamlead for the username and click the Select Username button (Click ok to confirm) Paste the ssh public key that you use for Git (e.g., ~/.ssh/id_rsa.pub) into the Add SSH Public Key text box and click the Add button If you are using the container image, you can generate an ssh key pair by following these steps: Log in to your container.

Git Flow vs Github Flow – Luca Mezzalira. Recently I’ve spent time to study a good way to manage a software projects with GIT.

Git Flow vs Github Flow – Luca Mezzalira

I really read a lots of blog post to check different points of view and to find out which is the best technique to use in different situations. The principals ways to manage a software in GIT are: the Git Flow and the Github Flow. These 2 methods can really help you to manage your project and optimise your workflow in the team. Let’s see the differences between them. 关于两种CI/CD策略以及Git分支模型的思考. 借这个周末闲适的下午和明媚的阳光,决定把近来项目上的CI/CD(持续集成/持续交付)策略以及Git分支模型和以前的项目做一下分析比较,希望对各位有所帮助,也能有所思考,尤其是那些期望搭建项目部署流水线或者想了解Git分支模型的开发、运维人员。

关于两种CI/CD策略以及Git分支模型的思考

Git中pull對比fetch和merge - 壹讀. 子模組 (Submodules) 經常有這樣的事情,當你在一個專案上工作時,你需要在其中使用另外一個專案。

子模組 (Submodules)

也許它是一個協力廠商開發的程式庫(Library),或者是你另外開發給多個父專案使用的子專案。 在這個情境下產生了一個常見的問題:你想將這兩個專案分開處理,但是又需要在其中一個中使用另外一個。 這裡有一個例子。 假設你在開發一個網站,並提供 Atom 訂閱(Atom feeds)。 你不想自己編寫產生 Atom 的程式,而是決定使用一個 Library。 Software Branching and Parallel Universes. Source control is the very bedrock of software development.

Software Branching and Parallel Universes

Without some sort of version control system in place, you can't reasonably call yourself a software engineer. If you're using a source control system of any kind, you're versioning files almost by definition. Version Control Guide (ex-Branching & Merging) - Downloads. Git - How do I create a new GitHub repo from a branch in an existing repo? What is Your Branching Model? Note: At no point are we asking about local branching (on your local workstation with Git, etc).

What is Your Branching Model?

This is all about branching on the remote repository. That is if your company has one, and isn’t completely distributed, with no central repo. Teams develop on their own branches, and release from them. The then merge back to ‘mainline’ after the release. Version Control for Multiple Agile Teams. If we have several agile development teams working on the same codebase, how do we minimize the risk of stumbling over each other?

Version Control for Multiple Agile Teams

How do we ensure that there always is a clean, releasable version at the end of each iteration? This paper describes an example of how to handle version control in an agile environment with multiple teams - it is the scheme that we migrated to at the company described in "Scrum and XP from the Trenches". This paper is not primarily targeted for version control experts, in fact such experts probably won't find anything new here. This paper is aimed at the rest of us, those of us that just want to learn simple and useful ways to collaborate. A stable mainline branching model for Git – Bits'n'Bites. In this article I will describe a Git workflow and branching model that I have used successfully in several projects and companies for many years now.

A stable mainline branching model for Git – Bits'n'Bites

It scales from small to large teams, and it fixes some common problems with Continuous Integration and GitFlow, for instance. Moreover, it is very simple and results in a nice Git history. Software Configuration Management Patterns - DZone - Refcardz. Figure 1: Workspace Patterns Private Workspace To maintain an Active Development Line you need an environment where developers can identify integration issues before code is shared with the team.

Software Configuration Management Patterns - DZone - Refcardz

Continuous Integration - DZone - Refcardz. Independent Build Single Command Single-command deployment execution using Ant: Dedicated Resources When creating an integration build machine consider the following: Externalize Configuration. A successful Git branching model » nvie.com. Note of reflection (March 5, 2020)This model was conceived in 2010, now more than 10 years ago, and not very long after Git itself came into being.

In those 10 years, git-flow (the branching model laid out in this article) has become hugely popular in many a software team to the point where people have started treating it like a standard of sorts — but unfortunately also as a dogma or panacea.During those 10 years, Git itself has taken the world by a storm, and the most popular type of software that is being developed with Git is shifting more towards web apps — at least in my filter bubble.

Web apps are typically continuously delivered, not rolled back, and you don't have to support multiple versions of the software running in the wild.This is not the class of software that I had in mind when I wrote the blog post 10 years ago. Why git? ¶ For a thorough discussion on the pros and cons of Git compared to centralized source code control systems, see the web. The main branches ¶ Introducing GitFlow. What Is GitFlow? GitFlow is a branching model for Git, created by Vincent Driessen. It has attracted a lot of attention because it is very well suited to collaboration and scaling the development team. Key Benefits Parallel Development One of the great things about GitFlow is that it makes parallel development very easy, by isolating new development from finished work. Although interruptions are a BadThing(tm), if you are asked to switch from one task to another, all you need to do is commit your changes and then create a new feature branch for your new task.

Collaboration Feature branches also make it easier for two or more developers to collaborate on the same feature, because each feature branch is a sandbox where the only changes are the changes necessary to get the new feature working. 神奇的 Git Subtree. Git 版本控制系統(3) 還沒 push 前可以做的事. Version Control Guide (ex- VS TFS Branching and Merging) - Downloads. TFS as perfect tool for Scrum (Part 4) – Sprint. This is the fourth part of the series TFS as perfect tool for Scrum. The series is based on my session that I presented at Microsoft TechDays. You can find more introduction in part 1 The agenda for this series is: 1. Introduction in Scrum and TFS 2. 3. 4. 5. Today, Part 4 – Sprint Disclaimer: Within these series I talk about backlog grooming a lot. Part 4 – Sprint When sprint planning is done, it is time to get to work.

What have I done yesterday? They pick up tasks one by one. Basically this is what a sprint contains. It is also very important that all activities are planned during a sprint that needs to be done to meet the Definition of Done (more about this later in this post). Challenges during the “Sprint” phase So basically, we need to do 2 things within the sprint.

Git-rebase 小筆記 - Yu-Cheng Chuang’s Blog. 最近剛好有個機會整理很亂的 Git commit tree,終於搞懂了 rebase 的用法,筆記一下。 大家都知道 Git 有個特色就是 branch 開很大開不用錢,但很多 branches 各自開發,總要在適當時機 merge 進去 master 。 Mac下的開發工具整理篇一 - 每日頭條. 一、PhpStorm PhpStorm 是 JetBrains 公司開發的一個輕量級且便捷的PHP IDE,其旨在提供用戶效率,可深刻理解用戶的編碼,提供智能代碼補全,快速導航以及即時錯誤檢查。 二、Sequel Pro Sequel Pro 的原名是CocoaMySQL,是一個與phpMyAdmin相像的MySQL管理工具。 它是由Cocoa和面對對象的C(Mac OSX)編寫的。 Sequel Pro允許你編輯資料庫,表格(欄位和索引)和列,執行個性化查找和導入導出數據。 三、Sublime Text. Follow-up to 'GitFlow considered harmful' My previous post, in which I explained what I disliked about GitFlow, generated a lot of feedback on /r/programming, HackerNews, Twitter and in the comments section of the article itself. GitFlow considered harmful. Git-flow cheatsheet. Git Workflows and Tutorials. The array of possible workflows can make it hard to know where to begin when implementing Git in the workplace.