Learning Git
- Approach
- We will Start Git by Working on one-system
- Git features
- How it tracks
- How Git Works
- etc…
- We will be using git completely from command line.
- Then we will add Distributed VCS (GitHub/Azure Source Repos/Code Commit)
- How organizations use Git for their product lines
- We will Start Git by Working on one-system
Getting Started with Git
- Working with local repository:
- Create an intitial repository
- We would require empty folder/directory
- Then initialize with git command
- Make changes and query status
- Add changes to index/staging area
- Once we commit the changes the history will be maintained, To maintain history git requires
- commiter emailid
- commiter name
- commit message
- date time
- Let configure the commiter email id and username (Once at a system level)
- commit messsage is provided during commit and date time will be picked by git automatically
- Create an intitial repository
- Few Areas of git relavent to local repo
- Lets modify the file and create a second commit
- For using git commands refer cheatsheet of your choice