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>
-
Notifications
You must be signed in to change notification settings - Fork 0
MukundhBhushan/GitBasics
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Git and github basics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published