Git is a popular source code management system. Every Git working directory is a full-fledged repository, with complete history and version tracking capabilities, not dependent on network access or a central server. Git is developed primarily on Linux, although it supports most major operating systems including BSD, OS X, and Microsoft Windows. Information about Git can be found on the project website.
- Peruse: Git documentation (optional).
- Try: Git tutorials.
- Download and Install: Git software (if needed).
GitHub is a web-based hosting service for source code management (SCM). It is built on the Git revision control system and offers free accounts for open source and educational projects. We will employ a Git archive for programming challenges throughout the semester. The organization for this course is hosted on GitHub.
https://github.com/InformationScience/
Active participants are given write access to assignments. A short list of frequently used commands appears below.
- Init:
The
initcommand creates a new local repository. - Clone:
Use
cloneto instantiate a working copy from a master repository. This is usually the first command employed to establish a local working hierarchy under this paradigm. - Add:
The
addcommand is used to add one or more files to staging. Only add pertinent files to the repository. - Commit:
The
commitcommand incorporates changes to your working copy of the repository. - Push:
The
pushcommand sends changes to the master branch, typically a remote repository. - Pull:
The
pullcommand fetches and merges changes on the remote server to the local working directory. - Mergetool:
Sometimes, there may be a discrepancy between the latest version of a file and its working copy on a given host.
In such cases, the developer may need to take action to resolve these issues.
This can be achieved through normal editing, followed by the Git
addcommand. Alternatively, one can use themergetoolcommand, which initiates a visual tool. - Status:
The
statuscommand lists the status of working files and directories.
- Account: Go to GitHub and create a developer account (if needed).
Complete the GitHub fields
Name,Public email, and upload a picture.
GitHub also created the Student Developer Pack to give students free access to developer tools in one place and thereby support education. You may want to get your pack.
Python is a widely used general-purpose, high-level programming language that supports multiple programming paradigms. Its design philosophy emphasizes code readability. Python interpreters are available for installation on many operating systems, allowing Python code execution on a wide variety of systems.
- Peruse: The Python Software Foundation website.
Anaconda is an open source distribution of Python, which includes popular Python packages for data science.
The Jupyter Notebook is a web application that can be used to create and share documents that contain live code, equations, visualizations and explanatory text. The Notebook has support for many programming languages, including Python, R, Julia and Scala. The Jupyter Notebook is included in the Anaconda distribution.
- Run: The Jupyter notebook.
PyCharm is a Python integrated development environment (IDE) for programming computer software. It is developed by JetBrains. The educational edition is free and open source.
- Read: About PyCharm.
- Watch: Take a tour of PyCharm Educational Edition.
- Download and Install: PyCharm Educational Edition.
- Complete: Introduction to Python in PyCharm.
- Complete: The Python exercise described in
StudentID.ipynb.