Skip to content

Hopefully this teaches some of the basic stuff about git and github. You might also check out git bash to do this from your command line.

Notifications You must be signed in to change notification settings

Evanross1/intro-to-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Task 1: Code Management System and Software

Git and Source Code Management

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.

http://git-scm.com/

Action Items

GitHub

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.

Common Actions

  • Init: The init command creates a new local repository.
  • Clone: Use clone to 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 add command is used to add one or more files to staging. Only add pertinent files to the repository.
  • Commit: The commit command incorporates changes to your working copy of the repository.
  • Push: The push command sends changes to the master branch, typically a remote repository.
  • Pull: The pull command 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 add command. Alternatively, one can use the mergetool command, which initiates a visual tool.
  • Status: The status command lists the status of working files and directories.

Action Items

  • Account: Go to GitHub and create a developer account (if needed). Complete the GitHub fields Name, Public email, and upload a picture.

GitHub Student Developer Pack (optional)

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.

The Python Programming Language

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.

Action Items

Anaconda

Anaconda is an open source distribution of Python, which includes popular Python packages for data science.

Action Items

  • Peruse: The Anaconda website.
  • Download and Install: Anaconda.
  • Test: Python interpreter.

Jupyter

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.

Action Items

  • Run: The Jupyter notebook.

PyCharm (optional)

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.

Action Items

GitHub and Jupyter Integration

Action Items

  • Complete: The Python exercise described in StudentID.ipynb.

About

Hopefully this teaches some of the basic stuff about git and github. You might also check out git bash to do this from your command line.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published