Skip to content

Instantly share code, notes, and snippets.

@nicolasrouanne
Created July 7, 2016 10:30
Show Gist options
  • Save nicolasrouanne/ec9577dcfb75699bd5f4a11deef35ecb to your computer and use it in GitHub Desktop.
Save nicolasrouanne/ec9577dcfb75699bd5f4a11deef35ecb to your computer and use it in GitHub Desktop.
Mini script to synchronise JPM and Nomad remotes for ADaM project
#!/bin/bash
# Mini script to synchronise JPM and Nomad remotes for ADaM project
# Prerequisites:
# * script must be in parent directory from ADaM repository
# * remotes must be configured as 'JPM' and 'Nomad'
# * branches to be synced and on local repo should be 'dev', 'staging', 'master'
cd ADaM
git pull
git push --all Nomad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment