Innopolis University DevOps Playground
Skip to content
Snippets Groups Projects
Commit a833f03c authored by SfedBro's avatar SfedBro
Browse files
parents ea75b5d1 1625ad77
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ Once you cloned the repository, open Unity and add the project by clicking on "A
## Staging file(s) to a commit
### See what files are to be staged
### See what files were created, deleted, or modified
```
git status
```
......@@ -25,15 +25,26 @@ git add [file to commit]
```
### Staging multiple files to a commit
#### Method 1
```
git add .
```
#### Method 2
```
git add --all
```
### Removing a file/folder from your system and the repo
### Staging file(s) for removal
```
git rm [path to file/folder]
```
### Restore file(s)
This git command restores file(s) back to its original state from the last commit.
```
git restore [path to file/folder]
```
## Working on a feature
When you are working a new feature, it is recommended to make a new branch to avoid any problems with the project in the main branch.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment