Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. git remote add github git@github.com:GuillermoParedes/IonicStarter.git
  2. git remote add gitlab git@gitlab.com:GuillermoParedes/IonicStarter.git
  3.  
  4.  
  5.  
  6. # Para agregar un alias, para realizar un push al mismo tiempo u otro comando git
  7. git config alias.pushall '!git push gitlab master && git push github master'
  8.  
  9. # Push a los 2 origenes
  10. git pushall
  11.  
  12. # git pull github remote
  13. git pull github master
  14.  
  15. # git pull github remote
  16. git push gitlab master
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement