Jighead
6/4/2018 - 6:25 PM

Clone, Rename and Reset Remote URL

  1. create new EMPTY repo on github or bitbucket, etc. example:new repo named sass-button-library
  2. change into youy projects folder and clone the repo you want to use example git clone https://github.com/Jighead/gulp-es6-base.git sass-button-library
  3. change into new project folder in this example sass-button-library
  4. now change the remote URL example: git remote set-url origin https://github.com/Jighead/sass-button-library.git
    1. now push the code to the new remote repo. examle: git push origin master (depending on your setup on github/bitbucket you may need to enter your username and password)
  5. verify changes were pushed to new repo on github or butbucket.
1) create new EMPTY repo on github or bitbucket, etc.  example:new repo named sass-button-library
2) change into your projects folder and clone the repo you want to use example  git clone https://github.com/Jighead/gulp-es6-base.git  sass-button-library
3) change into new project folder in this example sass-button-library
4) now change the remote URL example: git remote set-url origin https://github.com/Jighead/sass-button-library.git
5) 5) now push the code to the new remote repo. examle: git push origin master (depending on your setup on github/bitbucket you may need to enter your username and password)
6) verify changes were pushed to new repo on github or butbucket.