Code Monkey home page Code Monkey logo

Comments (3)

jarq6c avatar jarq6c commented on September 24, 2024

FWIW, here's my current gitflow.

Step 1. Fork the NOAA-OWP/evaluation_tools repository

The instructions located here cover forking, cloning a local copy, and updating remotes to keep origin/main synced with upstream/main.

Step 2. Use the Feature Branch Workflow

From origin/main:

# Create a new branch and switch to it
git checkout -b new-feature

# Make edits using the normal git commands to track changes as necessary
git status
git add path/to/changed/file
git commit -m "My commit message"

# Create a new remote branch and push to origin/new-feature
git push -u origin new-feature

Step 3. Submit Pull Request via GitHub.com

Once the new-feature is ready, submit a pull request to merge the new-feature with main on NOAA-OWP/evaluation_tools.

from hydrotools.

aaraney avatar aaraney commented on September 24, 2024

Thanks for the input! That is pretty much my gitflow as well. I set an upstream remote using git remote add upstream <upstream-remote>. This lets me switch back to my main branch in my local fork and pull changes from the upstream remote using git fetch upstream. Then I just rebase any changes on top of my local main with git rebase upstream/main.

I wrote most of the guide up yesterday and im about to push it up and open up a PR.

Your link to the github docs on forking is great. Ill make sure to add that.

from hydrotools.

aaraney avatar aaraney commented on September 24, 2024

#33 closes this

from hydrotools.

Related Issues (20)

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.