filmov
tv
Top 10 Git Commands for every developers.
Показать описание
Top 10 Git Commands for every developers.
git config: This sets up your user information like name and email for your commits.
git init: This initializes a new Git repository in your current directory.
git clone: This clones an existing Git repository from a remote location (like GitHub) to your local machine.
git status: This shows you the current status of your working directory, including any changes, staged files, and untracked files.
git add: This adds specific files or changes to the staging area, which are the files you want to include in your next commit.
git commit: This creates a commit, which is a snapshot of the project at a specific point in time, with a descriptive message.
git push: This pushes your local commits to a remote repository (like GitHub).
git pull: This fetches changes from the remote repository and merges them into your local branch.
git branch: This allows you to list, create, or delete branches. Branches are essentially pointers to specific commits, allowing you to work on different versions of your project independently.
git checkout: This switches you between different branches in your local repository.
git merge: This merges changes from one branch into another branch.
git log: This shows you the history of commits in your repository, including commit messages and author information.
#git #command #cmd #terminal #linux
git config: This sets up your user information like name and email for your commits.
git init: This initializes a new Git repository in your current directory.
git clone: This clones an existing Git repository from a remote location (like GitHub) to your local machine.
git status: This shows you the current status of your working directory, including any changes, staged files, and untracked files.
git add: This adds specific files or changes to the staging area, which are the files you want to include in your next commit.
git commit: This creates a commit, which is a snapshot of the project at a specific point in time, with a descriptive message.
git push: This pushes your local commits to a remote repository (like GitHub).
git pull: This fetches changes from the remote repository and merges them into your local branch.
git branch: This allows you to list, create, or delete branches. Branches are essentially pointers to specific commits, allowing you to work on different versions of your project independently.
git checkout: This switches you between different branches in your local repository.
git merge: This merges changes from one branch into another branch.
git log: This shows you the history of commits in your repository, including commit messages and author information.
#git #command #cmd #terminal #linux