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
Previous revision
git:crash-course [2009/04/16 16:36]
janakj
git:crash-course [2011/09/14 09:33] (current)
87.95.106.127 [Git Crash Course For sip-router]
Line 11: Line 11:
  
 As the second step you need to configure the git client. I have attached As the second step you need to configure the git client. I have attached
-configuration files to this email for your convenience, save files .gitconfig +configuration files to this page for your convenience, save file {{:git:gitconfig.sample|.gitconfig.sample}} as ''.gitconfig'' 
-and .gitignore in your home directory. File ''sip-router.org_CA.pem'' is optional, +and file {{:git:gitignore.sample|.gitignore.sample}} as ''.gitignore'' in your home directory. File {{:git:sip-router.org_ca.pem|sip-router.org_CA.pem}} is optional, it should be saved in a directory with SSL certificates (usually ''/etc/ssl/certs''). You will only need the file if you plan on accessing the repository over https (that's not the case for developers with write access). 
-you will only need the file if you plan on accessing the repository over https +
-(that's not the case for developers with write access). +
  
 Edit file ''~/.gitconfig'' and configure your name and email address there. This Edit file ''~/.gitconfig'' and configure your name and email address there. This
Line 109: Line 107:
  
 The output should look roughly like this: The output should look roughly like this:
-  * master +<code> 
-    origin/HEAD +* master 
-    origin/MAIN +  origin/HEAD 
-    origin/Maintainer +  origin/MAIN 
-    origin/andrei/cvshead +  origin/Maintainer 
-    origin/andrei/sctp +  origin/andrei/cvshead 
-    origin/andrei/sctp_fixes +  origin/andrei/sctp 
-    origin/andrei/sctp_one_to_one +  origin/andrei/sctp_fixes 
-    origin/andrei_sctp +  origin/andrei/sctp_one_to_one 
-    origin/cancel_fix +  origin/andrei_sctp 
-    origin/cvs-head +  origin/cancel_fix 
-    origin/janakj/cvshead +  origin/cvs-head 
-    origin/janakj/doxygen +  origin/janakj/cvshead 
-    origin/master+  origin/janakj/doxygen 
 +  origin/master 
 +</code>
  
 Branches that start with "origin/" are branches that exist in the remote Branches that start with "origin/" are branches that exist in the remote
Line 268: Line 268:
 repository with ''git push'': repository with ''git push'':
  
-  $ git push :janakj/mybranch+  $ git push origin :janakj/mybranch
  
 This is a special syntax of ''git push'', if you omit the name of the local This is a special syntax of ''git push'', if you omit the name of the local

Navigation

Wiki

Other

QR Code
QR Code git:crash-course (generated for current page)