We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
First configure your remotes so that origin -> your fork and upstream -> main package:
origin
upstream
$ git remote add upstream https://github.com/aws/aws-parallelcluster.git
Confirm they are setup properly:
$ git remote -vv origin https://github.com/sean-smith/aws-parallelcluster.git (fetch) origin https://github.com/sean-smith/aws-parallelcluster.git (push) upstream https://github.com/aws/aws-parallelcluster.git (fetch) upstream https://github.com/aws/aws-parallelcluster.git (push)
The first step before coding is to create a branch, it's helpful to branch off upstream/develop so git will tell you when the branch is out of sync.
upstream/develop
$ git checkout -b super-awesome-feature upstream/develop
Now write some code
Squash all the commits into one commit. Each feature should be one commit.
Then you can rebase & squash:
git fetch upstream && git rebase upstream/develop git rebase -i upstream/develop
Then change pick to squash for all but 1 commit, for example:
pick
squash
Next run tox -e cfn-autoformat to make travis happy:
tox -e cfn-autoformat
pip install tox cd cli && tox -e cfn-autoformat
Test your changes with tox
tox
cd cli && tox
Commit the changes and force push:
git commit -a --amend git push origin [your_branch] --force