[Angular] 006 Adding Git to VS Code IDE
///// Integrating GitLab with VS Code /////
*Steps:*
1. Install Git on your machine. Setup can be downloaded from this site.
https://git-scm.com/downloads
2. Create a global/cloud git repo on GitLab.
https://gitlab.com/
Create a project on GitLab. It will automatically create a git repo for that project.
3. Create a local git repo on your machine.
i. Open your Angular project in VS Code.
ii. Open command pallet. (ctrl+shift+P)
iii. Git: Initialize Repository
iv. Select your Angular-project-folder as your workflow folder.
It should then start showing .git hidden folder in your workspace folder.
4. Link your local git repo (which is on your machine) with your global/cloud git repo (which is on GitLab).
i. Again open the command pallet. (ctrl+shift+P)
ii. Git: Add Remote
iii. Enter your GitLab repository's name.
E.g.: Angular
iv. Enter your GitLab repository's URL.
E.g.: https://gitlab.com/aspire-crisptutorials/angular.git
v. Login with your GitLab credentials.
Now, you'll start seeing your default branch (master) in the bottom left corner of VS Code IDE (as the left-most item on the footer).
5. Commit and Push your changes.
i. Stage your changes.
ii. Commit your changes to your local Git repository.
iii. If you're asked to configure git user name and password, then do the following:
* Open your local Git repository in any terminal based window (like VS Code * Terminal or CMD or GitBash).
* Run these commands to save configurations to the local-git repo's workspace:
git config user.name "Amit Shirasao"
git config user.email "[email protected]"
* Or to save user name and email globally for all git repositories on your user, run these commands in any folder from a terminal based window.
git config --global user.name "Amit Shirasao"
git config --global user.email "[email protected]"
* Or to save user name and email at sytem level, run these commands in any folder from a terminal based window.
git config --system user.name "Amit Shirasao"
git config --system user.email "[email protected]"
iii. Besides your branch name, you'll now see a sync icon with zero changes to be pulled and one change to be pushed. Press this button to push your changes onto the cloud repository.
6. More branches can be created by clicking on the branch name being shown on the footer.
7. Publish your branch to the remote git repository. For this, click on the publish icon which you'll find besides your branch name.
8. Git configuations are at three cascading levels:
Local (Repo level) (Highest Priority)
Global (User level) (Medium Priority)
System (Machine level) (Lowest Priority)
To see the location of these files, just run this command in any terminal based window.
git config --edit
git config --edit --global
git config --edit --system
================== CONTACT ME =================
Mobile: +91 9158851250
Address: F-102 Sanskriti Society, Kaspate Wasti, Wakad, Pune 411057
================ LEGAL DISCLAIMER ==============
This video is an intellectual property of Mr. Amit Shirasao. Views expressed on this video are his personal views. Any of his previous/current/future employers or organizations that he may be affiliated with do not, in any way, take any responsibility for the same.
Aspire as a brand and channel along with all the videos posted under it are an intellectual property of Mr. Amit Shirasao. Aspire - Crisp Tutorials brand and channel is a subsidiary of Aspire brand and channel. So, by definition, every video posted under Aspire - Crisp Tutorials is also an intellectual property of Mr. Amit Shirasao.
Views expressed in any video under Aspire are strictly the personal views of the creator of the video. Creator of the video is the person whose name is mentioned in the video's thumbnail and on the very first screen which comes just after the intro. Please note that Mr. Amit Shirasao is not necessarily the creator of every video on Aspire and hence does not take responsibility of the views expressed in the videos which he did not create.
Please note that besides owning and running Aspire, Mr. Amit Shirasao may also be employed by some other company. Any past, present or future employers of Mr. Amit Shirasao does not in any way take any responsibility for this channel or the views expressed on it.
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «[Angular] 006 Adding Git to VS Code IDE», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.