Updated FAQ (markdown)

S Leibrock 2016-08-16 11:37:50 -04:00
parent dccd758024
commit 92143ce7d3

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 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. 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 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" 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 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. 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 remote add myrepo https://github.com/my-username/ssh-chat
git push -u myrepo git push -u myrepo
``` ```