برنامه نویسی
دستورات در Git – Community Dev

در اینجا چند دستور git وجود دارد که قرار است در ترمینال به شرح زیر استفاده شود ،
1.Git Add (به عنوان مثال: text.txt)
The git add command adds a specific (text.txt) file from
working directory to the staging area.
2. وضعیت git
The git status command displays the state of the working
directory and the staging area.
3.Git Restore -صحنه (به عنوان مثال: text.txt)
For example If you have staged the (text.txt)files with the
git add command that you later decide not to commit, you can
unstage these changes using this command.
4.Git اضافه کنید.
This command will not add a specific file but it will add
all modified and untracked files to the staging area.
5. فشار دادن فشار
The git push command is used to upload local repository
content to a remote repository. Pushing is how you transfer
commits from your local repository to a remote repository.
6.Git log
git log lists the commits made in the local repository.
7.Git Log -Oneline
This command will display each commit on a single line.this
will be very useful for a project overview
8. Git Pull
The git pull command is used to fetch and pull the
content from a remote repository to the local
repository.