git clone [respository link]
in Git Bash. Replace [repositorylink]
with the repository's link.git branch [branchname]
and then git checkout [branchname]
. Make the changes to the files that will solve the issue according to you../gradlew check
in your terminal of Android Studio. If the check is failing, please fix all the errors.git add .
git commit -m "commit message"
git push
Pull Requests
and then New Pull Requests
. Click on compare across forks
.base
as the org's project's main branch and compare
as the branch that you just created. Fill all the details in the Pull Request template and finally post the Pull Request.git rebase -i HEAD~x
Please note that x is the number of commits you want to merge.git rebase -i HEAD~3
opens rebase for the last three commits.pick
as the prefix. Change pick
to s
for every commit except the topmost one. Once you've done that, you'll need to save that. You can do this by pressing esc
key and then typing :wq
and pressing enter
key. Then you'll see a screen which shows the commit messages for the new changes that you've just done. Type :wq
again. Now that it's saved, you'll need to again push your changes. You can do this by typing git push --force
in the Bash.git commit --amend
.