Today I have learnt the git commands which can be used to clone the project from Git lab to the desktop files.
● git status : To check which files are tracked. This allows what changes have been staged, which doesn't and which files are not being tracked by Git.
● git add. : Stage all files.
● git commit -m : Commit staged changes with a message.
● git log : Shows the history of Git repository.
● git push : This helps to upload the local commits to a remote repository.
Git command shortcut:
Ctrl+Shift+C - Copy
Ctrl+Shift+V - Paste
Top comments (0)