Coder Social home page Coder Social logo

merge-conflict-demo's Introduction

merge-conflict-demo

A repository used to demonstrate merge conflicts in a screencast for UMM's CSci 3601 (Software Design and Development).

We'll use this to illustrate changes to a repo that rarely cause conflicts, followed by changes that almost always lead to conflicts.

The current version of the video: https://www.youtube.com/watch?v=Am6xSrPVX98

merge-conflict-demo's People

Contributors

nicmcphee avatar

Watchers

 avatar James Cloos avatar Paul Friederichsen avatar Joseph Thelen avatar Shawn Seymour avatar Brian Caravantes avatar  avatar

merge-conflict-demo's Issues

Mention `.gitignore`

In the current version of the video I end up mentioning but doing nothing about a group of files created by IDEA that I don't want to commit to the project. I really should have met that head on and:

  • Talked about why you don't want to commit a lot of IDEA clutter, and
  • Show them how to use .gitignore to ignore those files so they don't inadvertently get committed

Use IDEA's graphical display of the branches

The only part of IDEA's version control tool that I showed in the video was the panel that showed local changes. I really should use the graphical display that shows commits and branches as I think that does a very nice job of illustrating the what's happening. This is true at the beginning (we can see the commits as they happen), but is especially true when we get to the branching in the second half.

If I do this, I really should have "KK's" commits in the second half actually happen in a separate branch so that branch shows up in the diagram. (I actually just did all "KK's" work in master since I knew that no one would "see" it.)

Show how you can amend a commit

When I discover that IDEA is suggesting that I change the public methods to private, I could use that to illustrate amending to an existing commit, which might be nice. I would need to talk about the dangers of amending commits, but it's a nice technique if people haven't pushed yet.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.