Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
// Update welcome text and set terminal prompt to '$ '
"onCreateCommand": "echo PS1='\"$ \"' >> ~/.bashrc",
// Pull all branches
"postAttachCommand": "git pull --all"
"postAttachCommand": "git pull --all && clear"
}
// DevContainer Reference: https://code.visualstudio.com/docs/remote/devcontainerjson-reference
10 changes: 6 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@
"explorer.openEditors.visible": 0,
"files.autoSave": "afterDelay",
"screencastMode.onlyKeyboardShortcuts": true,
"terminal.integrated.fontSize": 18,
"workbench.activityBar.visible": true,
"terminal.integrated.fontSize": 22,
"workbench.colorTheme": "Visual Studio Dark",
"workbench.fontAliasing": "antialiased",
"workbench.statusBar.visible": true
}
"workbench.statusBar.visible": true,
// "files.exclude": {
// "**/.git": false
// }
}
4 changes: 1 addition & 3 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
Copyright 2022 LinkedIn Corporation
Copyright 2025 LinkedIn Corporation
All Rights Reserved.

Licensed under the LinkedIn Learning Exercise File License (the "License").
See LICENSE in the project root for license information.

ATTRIBUTIONS:
[PLEASE PROVIDE ATTRIBUTIONS OR DELETE THIS AND THE ABOVE LINE “ATTRIBUTIONS”]

Please note, this project may automatically load third party code from external
repositories (for example, NPM modules, Composer packages, or other dependencies).
Expand Down
41 changes: 21 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,35 @@
# Git Essential Training
This is the repository for the LinkedIn Learning course Git Essential Training. The full course is available from [LinkedIn Learning][lil-course-url].

_See the readme file in the main branch for updated instructions and information._
![lil-thumbnail-url]

## Course Description

<p>If you’ve ever wondered why someone should use Git or how to use it for version control, this is a great course to get started. Join Azure MVP and GitHub Star Barbara Forbes as she guides you through the installation process, the Git workflow, setting up and pushing code into a repo, and committing changes, all with a focus on version control and how Git can help you achieve it. Find out why people use Git. Learn how Git works, locally or through a provider, and how you can get it installed, configured, and running the way you need it to work. Follow the full process of pushing your code with Git, then explore ways to make changes to files. Discover important concepts in Git, like how to ignore files you don’t want to include, how branching and merging can help you with development, what should be in a commit, and how to troubleshoot common errors.</p><p>This course is integrated with GitHub Codespaces, an instant cloud developer environment that offers all the functionality of your favorite IDE without the need for any local machine setup. With GitHub Codespaces, you can get hands-on practice from any machine, at any time—all while using a tool that you’ll likely encounter in the workplace. Check out “Using GitHub Codespaces" with this course to learn how to get started.</p>

## Instructions
This repository has branches for each of the videos in the course. You can use the branch pop up menu in github to switch to a specific branch and take a look at the course at that stage, or you can add `/tree/BRANCH_NAME` to the URL to go to the branch you want to access.
To use this repository, you can create a _fork_. You do so from the GitHub website. The process will be explained in the course.
After you have created a fork, you can use the repository from your own account.

## GitHub Codespaces
It is recommended to use GitHub Codespaces to follow along with this course. Explanations on how to use them are provided in the course.

You can find more information on GitHub Codespaces possibilities and limitations [here](https://docs.github.com/en/codespaces/about-codespaces/what-are-codespaces).

## Branches
The branches are structured to correspond to the videos in the course. The naming convention is `CHAPTER#_MOVIE#`. As an example, the branch named `02_03` corresponds to the second chapter and the third video in that chapter.
Some branches will have a beginning and an end state. These are marked with the letters `b` for "beginning" and `e` for "end". The `b` branch contains the code as it is at the beginning of the movie. The `e` branch contains the code as it is at the end of the movie. The `main` branch holds the final state of the code when in the course.
_Note: You can get up to 60 hours of GitHub Codespaces usage per month for free. Find out more about pricing here [here](https://docs.github.com/en/billing/managing-billing-for-your-products/managing-billing-for-github-codespaces/about-billing-for-github-codespaces)._

When switching from one exercise files branch to the next after making changes to the files, you may get a message like this:
### Instructor

error: Your local changes to the following files would be overwritten by checkout: [files]
Please commit your changes or stash them before you switch branches.
Aborting
Barbara Forbes

To resolve this issue:

Add changes to git using this command: git add .
Commit changes using this command: git commit -m "some message"
Azure MVP and GitHub Star


## Installing
1. To use these exercise files, you must have the following installed:
- [list of requirements for course]
2. Clone this repository into your local machine using the terminal (Mac), CMD (Windows), or a GUI tool like SourceTree.
3. [Course-specific instructions]
Check out my other courses on [LinkedIn Learning](https://www.linkedin.com/learning/instructors/barbara-forbes?u=104).


[0]: # (Replace these placeholder URLs with actual course URLs)

[lil-course-url]: https://www.linkedin.com/learning/
[lil-thumbnail-url]: http://
[lil-course-url]: https://www.linkedin.com/learning/git-essential-training-25677984
[lil-thumbnail-url]: https://media.licdn.com/dms/image/v2/D4D0DAQFtri24YywCRA/learning-public-crop_675_1200/B4DZaSCsxDGwAc-/0/1746206904098?e=2147483647&v=beta&t=kWaRJNyIgQ-qsLPNYMvXiqqQgEhud2WqEhf2m-L3f5M

1 change: 1 addition & 0 deletions example.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
this is content
1 change: 1 addition & 0 deletions example02.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This is some text