edit-task
Home
Up
Delete
Task Name:
Task Description:
] git going - common use case scenarios using the git/github SCM/repo hosting service
TaskGroup ID:
Start Date:
Start Time:
Duration:
Priority:
Status:
To Do
Completed
In Process
Add Photo:
Owner ID:
Content:
use HTML
Edit Content
<h1 style="text-align: center;">CREATE-article# #</h1> <h2>[previously]</h2> <ol> <li><strong>[2017-05-01][00:00] NEW task IN ?</strong></li> <ol> <li>x] # 7282 - <a href="/view/task?id=7282" target="_blank">CREATE-article# 5729</a></li> </ol> <li><strong>[00:00] NEW article IN </strong></li> <ol> <li>x] # 5729 - <a href="/view/article?id=5729" target="_blank">git going - some common use case scenarios</a></li> </ol> <li><strong>[00:00] NEW task</strong></li> <ol> <li>x] # # - copy of the original SCENARIO-003 draft prior to </li> </ol> <li><span style="background-color: #ffff99;"><strong><strong>[ORIGINAL][SCENARIO-003</strong>] CLONE an existing repo to your local machine, then PUSH it back to your own REMOTE repo</strong></span></li> <ol> <li><strong>x] EXAMPLE =</strong></li> <li><strong>x] git clone https://github.com/tastejs/todomvc.git</strong></li> <li><strong>x] OPTIONAL - </strong><strong>EDIT SOURCE</strong></li> <li><strong>x] EXAMPLE</strong></li> </ol><ol> <li>x] git remote add {name} {url}</li> <li>x] git remote add todoMVCme/todoMVCme.git || git remote add {username}@github.com/path</li> <li>x] git push {name} {branch}</li> <li>] </li> <li><strong>x] REFERENCE =</strong></li> <li>x] http://stackoverflow.com/questions/1402390/git-push-clone-to-new-server</li> </ol> <li><strong>[2017-05-02][00:00] UPDATE scenario-003</strong></li> <ol> <li>x] see below, </li> <li>x] COPY to article, </li> <li>x] DIRTY </li> </ol> <li><strong>[00:00] NEW task</strong></li> <ol> <li>] # # - </li> </ol></ol> <div> <h2>[currently] </h2> <ol> <li>] # # - </li> </ol></div> <h2>[next] </h2> <ol> <li><strong>[00:00] NEW task </strong></li> <ol> <li>x] tried "git push" and </li> <li>x] RESULT = ERROR(s) </li> <li>x] look like -its trying to push to orig repo </li> </ol> <li><strong>>[00:00] NEW task IN TRY </strong></li> <ol> <li>x] SET/EDIT THE name & url for the remote repo</li> <li><span style="background-color: #00ff00;">x] git remote set-url origin http://github.com/{sospep}/{todoMVCme}</span></li> </ol> <li><strong>>[00:00] NEW task IN TRY - REPLACE # 007</strong></li> <ol> <li>] # # - CREATE the repository on the remote host, TRY = </li> <li>] git remote add origin http://github.com/sospep/todoMVCme.git</li> <li>] ERROR = origin already exists</li> <li>] REF=</li> <li>] https://help.github.com/articles/adding-a-remote/</li> </ol> <li><strong>[00:00] NEW task IN TRY</strong></li> <ol> <li><span style="background-color: #00ff00;">x] git push -u origin master</span></li> <li>x] RESULT = pass</li> <li>] EXPLAIN difference between, push and push -u , -u upstream, </li> </ol></ol> <div>+= REF </div>