Git Commands
Git Commands
5 - ( shows the info regarding commit ex - commit id, user name, user email
and other info regarding error and code)
git log --oneline
8- ( to put the code from local repo to central repo into master branch )
git push -u origin master
9- ( to take the code from central repo to local repo from master branch )
git pull origin master
10- (to ignore the specific file while committing to local repo)
(Ex - vi .gitignore
and enter file type you want to ignore while commit ex- *.json, *.phy , *.html)
● GIT STAGING
● GIT REVERT
● GIT CLONING