Skip to content

Commit 7ff106a

Browse files
committed
Adding practice for p2
1 parent b32a317 commit 7ff106a

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

docs/basics.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,3 +250,17 @@ $ git log --oneline --graph --decorate --all
250250
|/|
251251
* | 79c0c50e status page update and timestamps
252252
```
253+
254+
## Practice
255+
256+
Practice the above skills by doing the following:
257+
258+
1. In a local git repository that has a GitHub remote, add a new file with some content in it.
259+
2. `git add` that file to the repository.
260+
3. Edit the file some more.
261+
4. Use `git status` to view the state of your repo.
262+
5. `git add .` your new changes again.
263+
6. `git commit` the added file and `git push` it to GitHub.
264+
7. Using the GitHub web interface, add another file to your repository.
265+
8. Use `git pull` to pull down changes in the repository.
266+
9. Use `git log` to view all commit activity in the repo.

0 commit comments

Comments
 (0)