git - Working with multiple repository in BitBucket -


on laptop, have bitbucket key configured. on bitbucket, part of 2 teams. 1 team teama , other 1 teamb.

i worked on 1 of project teamx teamx.project1. did commits, pushed etc. 1 thing note origin configured team.

now here steps did teamb

  • create new directory somewhere else in system
  • executed git init
  • created new readme.md file echo "first time" > readme.md
  • added new team repo directory git remote add team2_origin git@bitbucket.org:myusername/team2_project1.git
  • and did git push -u personal_origin --all

what expecting have readme.md file in project however, surprise, teamb.prject_1 had history of teama.project1. also, showed me readme.md (which newly created) has been changed since tracking teama.readme.md previous version.

i didn't want that. want keep both teams , project totally isolated.

how

edit

path teama.project1: /users/myname/documents/dev/repos/project_1

path teamb.project1: /users/myname/documents/dev/teamb/project_1


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -