Git Product home page Git Product logo

epics's Introduction

#HPS EPICS

Getting Started

To get a github repository setup for HPS EPICS developement:

  • Create a github account and login
  • Create a new repository using the "+" near the top right of the webpage, don't check "Initialize Repository with a README"
  • On your desktop:
mkdir <newdir>
cd <newdir>
git init
git remote add origin https://github.com/<username>/<new-repo-name>
git remote add hps-epics https://github.com/wmoore28/epics
git pull hps-epics master
git push -u origin master
  • Edit/add files then commit the changes. Push to your remote repository (on github).
git add <changed files>
git commit -m "Meaningful comments about changes"
git push

Submit code to HPS EPICS

I recommend doing a pull from the wmoore28/epics first, getting updates from others (See: Staying in sync)

On github, navigate to your repository with the changes you want to submit.

  • Switch to the branch with the changes
  • Click the Compare, review, create a pull request button
  • Ensure the branches being compared are correct and review changes (submit to wmoore28/epics:develop)
  • Click Create pull request

Staying in sync

Add a remote to the official repository (view remotes with 'git remote -v')

git remote add hps-epics https://github.com/wmoore28/epics
# get updates from remote branch, most likely master or develop
git pull hps-epics master
# if everything looks good...push changes to your repo
git push origin master

Using branches

If doing much of a feature add or rework, use a branch.

# Clone your repo.  Example:
git clone https://github.com/wmoore28/epics.git <local-dir>  # defaults to epics
cd <local-dir>
git checkout -b <branch-name>    # omit -b if using an existing branch

Edit/add code then commit the changes. Once ready, push changes to your remote branch (on github).

git add <changed files>
git commit -m "Meaningful comments about changes"
git push origin <branch-name>

epics's People

Contributors

wmoore28 avatar levon-hakobyan avatar rafopar avatar perhansson avatar hovanes-egiyan avatar boiarino17 avatar

Watchers

James Cloos avatar  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.