-
Notifications
You must be signed in to change notification settings - Fork 0
New instruction #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Badura-m
wants to merge
11
commits into
main
Choose a base branch
from
new_instruction
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
f535126
Add files via upload
Badura-m feb1f09
Add files via upload
Badura-m d6c761c
Create gitViaMPLABX.md
Badura-m e0deed5
Update gitViaMPLABX.md
Badura-m 9132064
Update gitViaMPLABX.md
Badura-m 5a9504b
Update README.md
Badura-m 26f25df
Add files via upload
Badura-m 567d007
Update gitViaMPLABX.md
Badura-m 7c7f9d9
Update README.md
Badura-m f9c784a
Update gitViaMPLABX.md
Badura-m 45f50c2
add cross-references to chapters for written instructions
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| # Git | ||
| Git is nowadays probably the most common Version Control System for Software Development. Version Control is used to create a change history during development. | ||
| This reduces the potential of data loss and enables one to easily reset changes. Furthermore, in professional software development teams Version Control can be used to review the work of colleagues to improve code quality and reduce the potential for bugs. | ||
|
|
||
| Within this lecture we will not actively use Git, but provide you with the corresponding code for your lab sessions via GitHub. | ||
| Therefore, mainly one feature of Git is necessary - cloning a repository, which will be explained within this manual. | ||
| Those who want to know more about Git, should take a look at the [References](#references) | ||
|
|
||
| ## Git Clone | ||
| If not stated otherwise within the repositories README, cloning a git repository is always the same and requires the below two steps. | ||
| ### 1. Get the repository's link (in our case from GitHub) | ||
| --- | ||
| Links to the relevant repositories are provided via Moodle for each laboratory session. | ||
|
|
||
|  | ||
| ### 2. Open MPLAB X IDE and clone the current repository | ||
| --- | ||
| Before you start, make sure that all your old projects are closed. To do so, you need to right-click on the microcontroller symbol of your current project shown in the left-hand column and then select *close*. | ||
| To clone the repository please follow the below instructions: | ||
|  | ||
|
|
||
| For those who do like to have written instructions: | ||
| 1. [copy the repository link](#1-get-the-repositorys-link-in-our-case-from-github) | ||
| 2. open MPLAB X IDE | ||
| 3. close all open projects | ||
| 4. choose in the toolbar TEAM | ||
| 5. choose GIT --> clone | ||
| 6. enter the repository link and choose the Destination Folder *U:/Microcontroller*, click Next | ||
| 7. select main as your remote Branch, click Next | ||
| 8. check your settings and select finish | ||
|
|
||
|
|
||
| ### 3. Clone the Library, you only need to do this once :) | ||
| > [!WARNING] | ||
| > In case you already cloned the library into your working folder - **do not clone it a second time!** unless you change your working folder ;) | ||
|
|
||
|  | ||
|
|
||
| For those who do like to have written instructions: | ||
| 1. Open the [GitHub repository _C_LIB](https://github.com/MicrocontrollerApplications/_C_Lib) | ||
| 2. [copy the repository link](#1-get-the-repositorys-link-in-our-case-from-github) | ||
| 3. follow step 2. to 8. of the described instructions in [Open MPLAB X IDE and clone the current repository](#2-open-mplab-x-ide-and-clone-the-current-repository) | ||
|
|
||
| If you want your repositories to be stored in a different folder simply change the location from *U:/Microcontroller/* to your preferred location. But keep in mind that it's harder to support you in case you use a different setup and that **you need to make sure that _C_LIB is always positioned correctly!** | ||
|
|
||
| ## References | ||
| 1. [Medium - An Introduction to Git for Beginners](https://medium.com/chaya-thilakumara/an-introduction-to-git-for-beginners-c97e701cecf9) | ||
| 1. [Oh My Git - An open source game about learning Git!](https://ohmygit.org/) | ||
| 1. [Git Documentation](https://git-scm.com/doc) (This is really for advanced Git users) | ||
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as for the other GIF, resolution within the README is very low...
Would re-record it, showing only the Git window.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will add written discrption and try a different tool