Comments (8)
You can make a branch that includes only commits in this repo, call it upstream
for instance. Here's how to configure my repo as the upstream remote: https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/configuring-a-remote-for-a-fork
Then create a new branch off upstream
, let's call it the moderator_feature
branch, and cherry-pick the commits you want to submit.
This way, your master
branch includes all your various changes, the upstream
branch is tracking my master
branch, and the moderator
branch is upstream
plus the moderator-related commits you want to submit here.
In my local repo:
master
: my code, including the most recent commits (kevin_commit_1
,kevin_commit_2
, …)
In your local repo:
master
: my code, plus all your changes (kevin_commit_1
,kevin_commit_2
, …,haviduck_commit_1
,haviduck_commit_2
, etc.)upstream
: a branch in your repo that mirrors mymaster
branch (kevin_commit_1
,kevin_commit_2
, …)moderator_feature
: a branch that only differs fromupstream
by the commits related to the moderator feature (kevin_commit_1
,kevin_commit_2
, …,haviduck_commit_2
)
And your pull request would then be requesting that the branch haviduck/moderator_feature
be merged into kevin/master
, ultimately resulting in kevin_commit_1
, kevin_commit_2
, …, haviduck_commit_2
being part of this repo and available to everyone else.
Git has an unnecessary complex interface but that's the standard most people use, so please don't hesitate to let me know if you need more pointers.
from cards_against_humanity.
For those interested:
haviduck@9ac002f
from cards_against_humanity.
@haviduck Thanks for the suggestion. Take a look at the official GitHub help for creating pull requests: https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/proposing-changes-to-your-work-with-pull-requests
In your case, the changes are in the commit you listed above, so you'll first need to create a branch that isolates this commit compared to the master
branch of my repo, and then open a PR for your new branch to the master branch
of my repo.
The pull request will thus says "@haviduck would like to contribute these changes to KevinBongart/cards_against_humanity
"
from cards_against_humanity.
@haviduck Thanks for the suggestion. Take a look at the official GitHub help for creating pull requests: https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/proposing-changes-to-your-work-with-pull-requests
In your case, the changes are in the commit you listed above, so you'll first need to create a branch that isolates this commit compared to the
master
branch of my repo, and then open a PR for your new branch to themaster branch
of my repo.The pull request will thus says "@haviduck would like to contribute these changes to
KevinBongart/cards_against_humanity
"
thanks, will try - and please bare with me if i eff up at first :)
from cards_against_humanity.
Yes of course! I'll be happy to help you, and a PR will be the ideal place to discuss the code changes and iterate
from cards_against_humanity.
i get the jist of it, its just that when i make a branch -everything- follows. and if i get this correctly i am to only submit the files in question. so just gonna figure that bit out then ill add each feature ive added as a pull request.
from cards_against_humanity.
Yeah i appreciate that guidance immensely. Ive postponed learning this stuff so i guess now is the time. Gonna try more tomorrow and hope fully a pr Will appear! :)
from cards_against_humanity.
allright, ive tried. i started out wrong so ive had to do some hackish stuff to only have the files in question. please review and advise :)
from cards_against_humanity.
Related Issues (17)
- Fix "spread your cards" issue, players cannot scroll through or select cards HOT 3
- Ensure unique game slugs HOT 1
- Create your own cards HOT 2
- Display submissions while the Card Czar is reading them HOT 1
- Extract view logic to a decorator
- Support "Pick 2" black cards
- Problem with sockets / cable HOT 5
- Have some sort of indication when the Card Czar is picking a winner
- Be able to kick players HOT 18
- Handle reconnects HOT 1
- Display the player list so that the Card Czar is always at the top
- Warn Card Czar if not all players have submitted answers before 'pick a winner' HOT 1
- Allow players to swap out answer cards they don't like HOT 4
- Build issue on Ubuntu 20.04 HOT 1
- Ubuntu 20.04 create DB errors. HOT 1
- How to select a different deck? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cards_against_humanity.