User Tools

Site Tools


notes:git

Differences

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

Link to this comparison view

Next revision
Previous revision
notes:git [2015/12/23 15:28]
jason created
notes:git [2016/01/11 12:35]
jason
Line 2: Line 2:
  
 <code bash> <code bash>
 +git config --global push.default matching
 +
 # Add an upstream remote # Add an upstream remote
 git remote add upstream https://​github.com/<​user>/<​repo>​.git git remote add upstream https://​github.com/<​user>/<​repo>​.git
Line 10: Line 12:
 git push origin master git push origin master
  
-List configuration+Configuration
 git config -l git config -l
 +git config --global user.name "Jason Johnson"​
 +git config --global user.email jason@jasonjohnson.org
  
 # List remotes # List remotes
notes/git.txt ยท Last modified: 2016/01/11 12:35 by jason