Skip to content

Instantly share code, notes, and snippets.

@tatianaevers
Last active November 5, 2016 22:43
Show Gist options
  • Save tatianaevers/64ea13b3f75c54bef857bd1078677e1b to your computer and use it in GitHub Desktop.
Save tatianaevers/64ea13b3f75c54bef857bd1078677e1b to your computer and use it in GitHub Desktop.

Revisions

  1. tatianaevers revised this gist Nov 5, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gitoverview.md
    Original file line number Diff line number Diff line change
    @@ -7,6 +7,7 @@ Here are the basic steps to start using feature branches in your project.
    ```
    # switch to the master branch
    git checkout master
    # fetch the latest changes from the remote git repository
    git pull origin master
    ```
  2. tatianaevers revised this gist Nov 5, 2016. 1 changed file with 12 additions and 8 deletions.
    20 changes: 12 additions & 8 deletions gitoverview.md
    Original file line number Diff line number Diff line change
    @@ -4,22 +4,26 @@ Here are the basic steps to start using feature branches in your project.

    ###Start on master

    // switch to the master branch
    ```
    # switch to the master branch
    git checkout master
    // fetch the latest changes from the remote git repository
    # fetch the latest changes from the remote git repository
    git pull origin master

    ###Create a new feature branch
    ```

    --will show we are on the new branch and ready to work.
    ###Create a new feature branch
    ```
    #will show we are on the new branch and ready to work.
    git checkout -b <YOUR_BRANCH>

    ```
    ###Implement your changes on that branch

    ```
    git status

    ```
    ###Push the feature branch to your remote repo
    ```
    git push origin <YOUR_BRANCH>

    ```
    ###Create a pull request for your new changes

  3. tatianaevers revised this gist Nov 5, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gitoverview.md
    Original file line number Diff line number Diff line change
    @@ -11,7 +11,7 @@ Here are the basic steps to start using feature branches in your project.

    ###Create a new feature branch

    //will show we are on the new branch and ready to work.
    --will show we are on the new branch and ready to work.
    git checkout -b <YOUR_BRANCH>

    ###Implement your changes on that branch
  4. tatianaevers created this gist Nov 5, 2016.
    25 changes: 25 additions & 0 deletions gitoverview.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,25 @@
    ## Quick Overview

    Here are the basic steps to start using feature branches in your project.

    ###Start on master

    // switch to the master branch
    git checkout master
    // fetch the latest changes from the remote git repository
    git pull origin master

    ###Create a new feature branch

    //will show we are on the new branch and ready to work.
    git checkout -b <YOUR_BRANCH>

    ###Implement your changes on that branch

    git status

    ###Push the feature branch to your remote repo
    git push origin <YOUR_BRANCH>

    ###Create a pull request for your new changes