Git notes
Git notes
It’s a distributed cloud decentralized repository where we can maintain our sourceCode /
Automation Framwork source code/ CRS doc /build of the application in one place
1. Git HUB : Cloud based repository(software) , which is used maintain the source code in
one place , in order to use it just create an account with https://github.com
2. Git [Git client] : it’s a software should installed in client machine , which is used to
communicate to GITHUB
EG : Git client Software EGit , GitDeskTop , GitBash
Developer Usage of Git : used to maintain the Source of the Application in one place
Automation Usage of Git : used to maintain the entire Automation framework in one place
Solution: Before push any file to GitHub, we should mandatorily Pull the Project & select merge
option , then[eclipse automatically merge the Code with comments]& remove comments manually
& analyse the code then push it
1. Login to github
2. click on “new Button ” or click on “+”=>new Repository
3. enter all the details & click on “CREATE” BUTTON
4. COPY Git URL
How to get Framework from GitHub to local System very first Time
1. Go to Eclipse
2. Click on “File”
3. Click on import
4. Expand “Git” folder
5. Click on “Project from git”
6. Click on “Clone URL”
7. Enter “Git URL” username/TokenID
8. Click on finish
9. Enter framework will be loaded from Global Repo to Local Repo
Click on finish