mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-05-25 19:27:44 +03:00
Updated FAQ (markdown)
parent
dccd758024
commit
92143ce7d3
4
FAQ.md
4
FAQ.md
@ -55,14 +55,14 @@ git checkout my-branch
|
||||
Now you can make your changes. Once you've finished that, you will then have to add these files to be
|
||||
staged for committing. Once added, we can create a commit message, and push it to your fork repository.
|
||||
|
||||
```
|
||||
``` bash
|
||||
git add file.txt # add more files if you've made changes in more places
|
||||
git commit -m "Fixed not having a file.txt in the project"
|
||||
```
|
||||
Now the changes are ready to be pushed. Currently, Git doesn't know where to push these changes, since
|
||||
we're on a different branch. We need to set a remote that we can push these changes to.
|
||||
|
||||
```
|
||||
``` bash
|
||||
git remote add myrepo https://github.com/my-username/ssh-chat
|
||||
git push -u myrepo
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user