Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Contribuir con un repositorio externo
- -------------------------------------
- # mkdir .ssh
- # cd .ssh
- # ssh-keygen
- > Copy to Settings Profile your public ssh key
- # ssh -T git@github.com //Test connection
- -----------------------------------------------
- # git clone git@github.com:imansilla/canawa.git
- # git remote -v // Check the "origin" named repository
- /*
- origin git@github.com:imansilla/canawa.git (fetch)
- origin git@github.com:imansilla/canawa.git (push)
- */
- # git remote add upstream git@github.com:germix/canawa.git // Add remote from original repository in your forked repository
- # git remote -v
- /*
- origin git@github.com:imansilla/canawa.git (fetch)
- origin git@github.com:imansilla/canawa.git (push)
- upstream git@github.com:germix/canawa.git (fetch)
- upstream git@github.com:germix/canawa.git (push)
- */
- # git pull upstream master // Updating your fork from original repository to keep up with their changes:
- # git checkout -b <branch_name> //Create Branch and move there
- > Create-Delete-Modify your files
- # git add * //Add the content
- # git commit -m "comment your changes" //Create a commentary
- # git push origin <branch_name>
- # git branch -d <branch_name>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement