Category Archives: Git 4 data science


Interlude: how can I edit a file? Unix has a bewildering variety of text editors. In this course, we will sometimes use a very simple one called Nano. If you type nano filename, it will open filename for editing (or create it if it doesn’t already exist). You can then move around with the arrow keys, delete characters with the backspace key, and Read more…


What’s the first step in saving changes? You commit changes to a Git repository in two steps: Add one or more files to the staging area. Commit everything in the staging area. To add a file to the staging area, use git add filename. check status: git status   How can I tell what’s going to be committed? To compare Read more…


A diff is a formatted display of the differences between two sets of files. Git displays diffs like this: diff –git a/report.txt b/report.txt index e713b17..4c0742a 100644 — a/report.txt +++ b/report.txt @@ -1,4 +1,4 @@ -# Seasonal Dental Surgeries 2017-18 +# Seasonal Dental Surgeries (2017) 2017-18 TODO: write executive summary. This shows: The command used to produce the output (in this case, diff –git). In Read more…


When you are using Git, you will frequently want to check the status of your repository.  To do this, run the command   git status   ., which displays a list of the files  that have been modified since the last time changes were saved. How can I tell what I have changed? Git has a  staging area in which it  stores files with changes  you want Read more…


Each of your Git projects has two parts: the files and directories that you create and edit directly, and the extra information that Git records about the project’s history.The combination of these two things is called a repository. Git stores all of its extra information in a directory called .git.it is located in the root directory of the  repository.  Git expects this information to be laid out Read more…


This chapter explains what version control is and why you should use it, and introduces the most common steps in a common Git workflow. What is version control? A version control system is a tool that manages changes made to the files and directories in a project. Many version control systems exist; this lesson focuses on one called Git. which is used by many of Read more…


Version control is one of the power tools of programming.It allows you to keep track of what you did when, undo any changes you have decided you don’t want, and collaborate at scale with other people.This course will introduce you to Git, a modern version control tool that is very popular with data scientists and software developers alike, and show Read more…




Calender

October 2020
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728293031