Git and GitHub basics
To check status of files
git status
To add remote
got remote add <remote alias> <URL>
To add all files
git add .
To add a perticular file
git add <filename>
To commit changes
git commit -m "<commit message>"
To push changes
git push remote alias> <branch>
To view changes in fles after merge
git diff master..<branch name>
To check if code is up to date
git pull <branch name>
mukundhbhushan / gitbasics Goto Github PK
View Code? Open in Web Editor NEWGit and github basics