You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: episodes/02-better-start-version-control.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -123,7 +123,7 @@ Git stores files in **repositories** - directories where changes to the files ca
123
123
The diagram below shows the different parts of a Git repository,
124
124
and the most common commands used to work with one.
125
125
126
-
{alt='Software development lifecycle with Git diagram showing Git commands and flow of data between components of a Git system, including working directory, staging area, local and remote repository'}
126
+
{alt='Software development lifecycle with Git diagram showing Git commands and flow of data between components of a Git system, including working directory, staging area, local and remote repository'}
127
127
128
128
-**Working directory** - a local directory (including any subdirectories) where your project files live,
129
129
and where you are currently working.
@@ -757,20 +757,20 @@ Let's push our **local repository** to [GitHub](https://github.com) and share it
757
757
there is a menu labelled "+" with a dropdown.
758
758
Click the dropdown and select "New repository" from the options:
759
759
760
-
{alt="Selecting the 'New repository' option from GitHub's dropdown menu labelled '+'" .image-with-shadow }
760
+
{alt="Selecting the 'New repository' option from GitHub's dropdown menu labelled '+'" .image-with-shadow }
761
761
762
762
3. You will be presented with some options to fill in or select while creating your repository.
763
763
In the "Repository Name" field, type "spacewalks".
764
764
This is the name of your project and matches the name of your local folder.
765
765
766
-
{alt="Setting the name of the repository on GitHub through the 'Repository Name' text field" .image-with-shadow }
766
+
{alt="Setting the name of the repository on GitHub through the 'Repository Name' text field" .image-with-shadow }
767
767
768
768
Ensure the visibility of the repository is "Public" and leave all other options blank.
769
769
Since this repository will be connected to a local repository,
770
770
it needs to be empty which is why we chose not to initialise with a README or add a license or `.gitignore` file.
771
771
Click "Create repository" at the bottom of the page:
772
772
773
-
{alt="Completing the creation of the GitHub repository by clicking on the 'Create repository' button" .image-with-shadow }
773
+
{alt="Completing the creation of the GitHub repository by clicking on the 'Create repository' button" .image-with-shadow }
774
774
775
775
4. Now we have a **remote repository** on GitHub's servers,
776
776
you need to send it the files and history from your **local repository**.
@@ -792,7 +792,7 @@ Let's push our **local repository** to [GitHub](https://github.com) and share it
792
792
You can copy these commands using the button that looks like two overlapping squares to the right-hand side of the commands.
793
793
Paste them into your terminal and run them.
794
794
795
-
{alt="Copying the commands to sync the local and remote repositories from the remote repository's home page on GitHub" .image-with-shadow }
795
+
{alt="Copying the commands to sync the local and remote repositories from the remote repository's home page on GitHub" .image-with-shadow }
796
796
797
797
5. If you refresh your browser window,
798
798
you should now see the two files `eva_data_analysis.py` and `eva-data.json` visible in the GitHub repository,
0 commit comments