User Tools

Site Tools


git_github_workflow

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
git_github_workflow [2018/02/14 12:12]
rpjday [Contributing changes]
git_github_workflow [2018/12/06 16:46]
rpjday
Line 50: Line 50:
  
 <​code>​ <​code>​
-$ git remote add progit2 ​https://​github.com/​progit/​progit2+$ git remote add progit ​https://​github.com/​progit/​progit2
 $ $
 </​code>​ </​code>​
Line 60: Line 60:
 origin https://​github.com/​rpjday/​progit2 (fetch) origin https://​github.com/​rpjday/​progit2 (fetch)
 origin https://​github.com/​rpjday/​progit2 (push) origin https://​github.com/​rpjday/​progit2 (push)
-progit2 https://​github.com/​progit/​progit2 (fetch) +progit https://​github.com/​progit/​progit2 (fetch) 
-progit2 https://​github.com/​progit/​progit2 (push)+progit  ​https://​github.com/​progit/​progit2 (push)
 $ $
 </​code>​ </​code>​
Line 80: Line 80:
  remote = origin  remote = origin
  merge = refs/​heads/​master  merge = refs/​heads/​master
-[remote "progit2"]+[remote "progit"]
  url = https://​github.com/​progit/​progit2  url = https://​github.com/​progit/​progit2
  fetch = +refs/​heads/​*:​refs/​remotes/​progit2/​*  fetch = +refs/​heads/​*:​refs/​remotes/​progit2/​*
Line 90: Line 90:
 Before you even start contributing to the main project, there are three steps involved in keeping up with everyone else's contributions. Before you even start contributing to the main project, there are three steps involved in keeping up with everyone else's contributions.
  
-First, fetch from the upstream ''​progit2''​ remote into the remote tracking branch ''​progit2/​master'':​+First, fetch from the upstream ''​progit''​ remote into the remote tracking branch ''​progit/​master'':​
  
 <​code>​ <​code>​
-$ git fetch progit2+$ git fetch progit
 </​code>​ </​code>​
  
Line 99: Line 99:
  
 <​code>​ <​code>​
-$ git merge progit2/master+$ git merge progit/master
 </​code>​ </​code>​
  
Line 175: Line 175:
  
 <​code>​ <​code>​
-$ git fetch progit2 +$ git fetch progit 
-$ git merge progit2/master+$ git merge progit/master
 </​code>​ </​code>​
  
 In addition, you can now delete the ''​sillyb''​ branch if you have no further use for it. In addition, you can now delete the ''​sillyb''​ branch if you have no further use for it.
git_github_workflow.txt · Last modified: 2020/01/27 17:03 by rpjday