Difference between revisions of "Version Control"
From Chemical Engineering @ UP wiki
(Rework to reflect 2019 reality) |
|||
Line 18: | Line 18: | ||
git config --global http.proxy "http://firewallusername:firewallpassword@cache.up.ac.za:8080" | git config --global http.proxy "http://firewallusername:firewallpassword@cache.up.ac.za:8080" | ||
2. Use the https links for your project rather than the ssh link. You may be prompted for a password - this is your github password. If you don't like typing it every time, just use a similar format as above for your repository access. | 2. Use the https links for your project rather than the ssh link. You may be prompted for a password - this is your github password. If you don't like typing it every time, just use a similar format as above for your repository access. | ||
+ | |||
+ | [[File:github_https.png]] |
Latest revision as of 08:05, 5 April 2019
Description
Version control is used to manage multiple versions of a number files during a project and exchange changes between collaborators.
Git
Git has become the de facto version control tool.
This video series is an excellent place to start learning about installing and using Git.
Github
We store all our repositories on GitHub, please create an account.
Proxy configuration
In order to be able to use GitHub through the Campus Proxy Servers, you may need to set up the proxy from the commandline:
1. Issue the following command:
git config --global http.proxy "http://firewallusername:firewallpassword@cache.up.ac.za:8080"
2. Use the https links for your project rather than the ssh link. You may be prompted for a password - this is your github password. If you don't like typing it every time, just use a similar format as above for your repository access.