One of most common personalization is about user identity (name and email are required for commit operations): git config -global user.name "myGitHubUser" Istall git package: sudo apt install git Configure Git Environment Once installed, make your OS up to date: sudo apt update Anyway, you can use this guide also from a Desktop distribution by using Terminal available inside it. I will use an headless Raspberry PI OS Lite installation. Step-by-Step Procedure Operating System preparation Last one is an example of upstream process.Ī simple picture can show the main overall process: After being recorded on staging, then changes can be pushed on GitHub repository with “git push” command. If you want to upload it to GitHub repository, you need first to move changes in a local staging area. Once every change is made on local folder/files, it is saved only in your local PC and traced by git. Repository can then be sinced with the “git add origin” command if you need to propose changes to original GitHub files. This is an example of downstream process. Local folder will usually be copied from GitHub repository by initial “git copy” process (if you start from existing repository). GitHub repository also marks all modifications received from remote users, maintaining change trace for possible restore needs. GitHub Repository is like a remote folder including files already added to specific version (main version is usually named “master”). Here are located files you are going to modify with your local version. It initialize folders structure and is responsible for managing communications with GitHub portal. Git manages all processes inside local system (Raspberry PI for us).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |