...
Tip |
---|
You can use git remote -v to list all available remote repositories. git branch -l # lists local repos with active one highlighted |
Fetching a pull request
Code Block | ||
---|---|---|
| ||
# Fetch a pull request git fetch github pull/[number]/head:[localbranchname] # Switch to develop branch git checkout develop # Merge the pulled feature branch git merge [localbranchname] # Run a build gradlew clean build # Run integration tests gradlew clean integrationTest # Push the changes git push origin # SKIP THIS STEP WHEN MERGING 'develop' # delete the feature branch git branch -d [localbranchname] |
...