New Microsoft Office Word Document

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

NOV/29/19 GIT

[Video (7)22nov]

$ git config --list  To list all the details of user.

Note: To set user name and email follow

$ git config --global user.name “guru”

$ git config --global user.email [email protected]

$ git config --global push.default=yes

$ git init  It creates central repository


$ git reset -- hard ---->> is used removed from your git repository but we cannot undo the changes.

$ git reset --soft ---->> In this we can undo the changes.

$ git reset -- mixed ---->> removed from repo and staging but still in your working directory.

$ git reset <file name> ---->> removed from the staging area

$ git revert <commit id> ---->> after commit we can remove but we need to specify the reason.

$ git rm <file name> ---->> it removes a committed file

$ git clean ---->> is used to delete the untraced files

$ git clean -n ---->> is used to list the removable files

$ git clean -f ---->> remove all untraced files

$ git tag -a swiggy_QA –m “committing changes to QA team <commit id>

$ git show swiggy_QA ---->> It will show details of that project.

GITHUB

Note: As we created a central repo in git like that we can also create a central repo in internet that is called GITHUB

$ git clone github url <folder name>

NOTE: We can use same commands as like in git

2). GITLAB, BITBUCKETalso one of the central repo

https://www.techspot.com/downloads/5553-java-jdk.html ========download java

https://www.sonarqube.org/downloads/ =======download sonarqube

You might also like