Difference between revisions of "Git"

From Net-SNMP Wiki
Jump to: navigation, search
(Learning Git)
(Add Web Interface section)
Line 13: Line 13:
 
This will retrieve the source code for the project.
 
This will retrieve the source code for the project.
 
(To obtain the content of the Net-SNMP website, replace ''code'' with ''htdocs'')
 
(To obtain the content of the Net-SNMP website, replace ''code'' with ''htdocs'')
 +
 +
== Web Interface ==
 +
 +
A web interface for the Net-SNMP git repository is available here: [https://sourceforge.net/p/net-snmp/code/ https://sourceforge.net/p/net-snmp/code/].
  
 
== Learning Git ==
 
== Learning Git ==

Revision as of 09:22, 16 August 2013

Git is a version control system (VCS) that is based on a distributed architecture. In June 2011, the Net-SNMP project switched from SVN to Git. In December 2012, the project moved to the new 'Allura' SourceForge framework, which also affected the URLs used to retrieve the code. Please ensure that you use the repositories shown below - using anything else may result in obtaining an old version of the project code.

If you're a developer, you might checkout out the Git For Developers page.

Checking out the Net-SNMP Git Tree

Check it out anonymously (read-only access):

 git clone git://git.code.sf.net/p/net-snmp/code

Checking it out if you're a developer:

 git clone ssh://USERNAME@git.code.sf.net/p/net-snmp/code

This will retrieve the source code for the project. (To obtain the content of the Net-SNMP website, replace code with htdocs)

Web Interface

A web interface for the Net-SNMP git repository is available here: https://sourceforge.net/p/net-snmp/code/.

Learning Git

If you're starting out learning Git, here are some useful resources:

When you're really ready to understand the internals after learning the basics (which you should want to do), watching Linus' talk at google on git:

See Also

Also, check out the contents of the Git category which lists even more resources: