Submitted by heartin on Sat, 06/09/2018 - 02:45
Submitted by heartin on Sat, 06/09/2018 - 02:19
Creating Git Repo Locally
Go to an empty directory and run:
Adding files to Git Repo
Create a file README.txt with some test contents
If you do 'git status' the README.txt file will be shown as un-tracked file.
git add README.txt
To add all files in a directory:
git add .
To add only modified files:
git add -u
Submitted by heartin on Sat, 06/09/2018 - 00:42
System Level Configuration
git config --system
Stored in etc/gitconfig in Mac / Linux. Similar structure in Windows, usually within usually within Program Files.
User Level Configuration
git config --global
Stored in ~/.gitconfig in Mac / Linux. Similar structure in Windows, within user home folder.
Repository Level Configuration
Stored in .git/config in each repo. [node:read-more:link]
Submitted by heartin on Fri, 06/08/2018 - 22:28
Single File Systems
Users could make their own revisions of a document, commit changes, and merge them together. However, these systems (e.g. TCS) operates only on single files. It has no way of working with an entire project, so it does not support atomic commits affecting multiple files.
Examples include SCCS, RCS etc.
Submitted by sneha on Mon, 06/04/2018 - 03:27
Angular is a single page application. Single page served by angular is index.html. Below is the structure of default index.html.
<app-root> is a tag present in index.html. How angular will know about this tag. That is taken care by main.ts which is the first script that will run. Below is the structure of main.ts