Git Product home page Git Product logo

moab-use-r's Introduction

Moab-Use-R

A repository for the Moab Use-R! group

Tips

When you add files, edit files, or delete files the workflow will always be:

  1. Commit the change, with a message
  2. Pull changes from the remote server
  3. Push changes to the remote server

The Git Desktop GUI combines the Pull and Push steps into one single "Sync" button.

Merge Conflicts

If you have a merge conflict, the offending files will have edits that highlight ("Conflict Markers") where two versions of the same file diverge e.g.

<<<<<<< HEAD
data <- read.csv(...)
=======
my_Data <- read.csv(...)
>>>>>>> cb1abc6bd98cfc84317f8aa95a7662815417802d
  • HEAD = YOUR version of the file
  • The long hexadecimal string (i.e. "cb1abc6bd98cfc84317f8aa95a7662815417802d") is the version of the file on the Remote Server; this string itself is the unique identifier of the commit
  • In order to resolve the conflict and successfully merge the versions of the file, you must remove all of the lines with angled brackets (e.g. <<<< HEAD, >>>>), the line with the equals sign (=====), and the line of code you don't want to save.
    • Alternatively, you can combine the code between the two versions if that makes sense to do so.
    • You just need to remove the "Conflict Markers" before completing the merge
  • After you remove those conflict markers, you can continue the merging process

moab-use-r's People

Contributors

cflagg avatar scoyoc avatar

Watchers

 avatar

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.