Reputation: 35
I created laravel project. I am trying various concepts in laravel. to keep concept code seprated from each other I uses branching. I created branches as auth,multiauth, orm-onetomany orm-onetoone, orm-many-many. I just want to push orm-onetomany orm-onetoone, orm-many-many and ignore auth & multiauth. How can I do this..??
Upvotes: 0
Views: 53
Reputation: 22067
Pushing multiple refs is fine. Just list them
git push <remoteName> orm-onetomany orm-onetoone orm-many-many
If you're likely to do that often, make an alias (arbitrary name ppp here but choose anything you prefer)
git config --global alias.ppp 'push <remoteName> orm-onetomany orm-onetoone orm-many-many'
# then later just
git ppp
Upvotes: 3