git status- check the current statusgit add <filename>- add files to tracking/staginggit add .- add files to tracking/staging in current directorygit checkout .- discard all changes in current directorygit commit -m <message>- commit the changes with messagegit init- initialise a new git repogit branch- current branchgit checkout <filename>- discard any changes to filegit checkout -b <branch-name>- create a new branchgit reset head- unstage the changesgit merge <branch-name>- merge to current checked out branchedgit checkout <branch-name>- checkout to a existing branchgit push -u origin <branch-name>create a new branch on upstream (github)git pull- pull changes from upstream(github) branchgit push- push changes to upstream(github) branchgit clone <url>- used to clone a git repo
forked from nikhilsharma2407/batch-47
-
Notifications
You must be signed in to change notification settings - Fork 0
Bhavit720/batch-47
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- HTML 72.4%
- JavaScript 27.6%