software:git
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
software:git [2019/02/13 09:51] – created himuser | software:git [2022/01/14 18:44] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== GIT ====== | ====== GIT ====== | ||
- | See the latest changes: | + | * See the latest changes:< |
- | < | + | |
git log | git log | ||
</ | </ | ||
- | Check the status of your files: | + | * Check the status of your files:< |
- | < | + | |
git status | git status | ||
</ | </ | ||
- | Comiting | + | * Committing |
- | < | + | |
git add < | git add < | ||
- | git commit -m " | + | git commit -m " |
</ | </ | ||
+ | * Push (changes the remote repository to your current local version, can only be done if all changes of the remote repository are included in your local version):< | ||
+ | git push | ||
+ | </ | ||
+ | |||
+ | * Pull (updates your local version by the changes made in the remote repository):< | ||
+ | git pull | ||
+ | </ | ||
+ | |||
+ | * Create a new branch named newIssue: < | ||
+ | git branch newIssue | ||
+ | </ | ||
+ | |||
+ | * Switch to another branch: < | ||
+ | git checkout newIssue | ||
+ | </ | ||
+ | |||
+ | * Switch back to master: < | ||
+ | git checkout master | ||
+ | </ |
software/git.1550051502.txt.gz · Last modified: 2022/01/14 18:44 (external edit)