Skip to content

Commit

Permalink
Merge pull request jlord#215 from royneau/revision_help
Browse files Browse the repository at this point in the history
Fix help text
  • Loading branch information
Jessica Lord committed Jan 21, 2016
2 parents 070fb68 + cc4445d commit 296e358
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions help.txt
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
{cyan}{bold}
HELPFUL THINGS{/bold}{/cyan}

- Get stuck? Find an error? File and issue at:
{bold}github.com/jlord/git-it{/bold}

{cyan}
GIT COMMANDS
------------{/cyan}

{cyan}Configuration{/cyan}

{bold}Configure your name{/bold}

$ git config --global user.name "Your Name"

{bold}Configure your username{/bold}

$ git config --global user.username githubusername

{bold}Configure your email{/bold}

$ git config --global user.email [email protected]

{cyan}Check in{/cyan}

{bold}Check status of changes to a repository{/bold}

$ git status

{bold}View changes between commits{/bold}

$ git diff
Expand All @@ -44,7 +44,7 @@
message describing the changes{/bold}

$ git commit -m "your commit message"

{cyan}Remotes{/cyan}

{bold}To push your changes to a remote{/bold}
Expand All @@ -54,15 +54,15 @@
{bold}To pull in changes from remote{/bold}

$ git pull <REMOTENAME> <BRANCHNAME>

{bold}To set a URL for a remote{/bold}

$ git remote set-url <REMOTENAME> <BRANCHNAME>
$ git remote set-url <REMOTENAME> <URL>

{bold}Add a remote{/bold}

$ git remote add <REMOTENAME> <BRANCHNAME>
$ git remote add <REMOTENAME> <URL>

{cyan}Branches{/cyan}

{bold}Merge a branch into current branch{/bold}
Expand All @@ -74,7 +74,7 @@
$ git checkout <BRANCHNAME>

{bold}Delete a local branch{/bold}

$ git branch -d <BRANCHNAME>

{bold}Delete a remote branch{/bold}
Expand All @@ -92,18 +92,18 @@
{bold}Navigate into an existing folder (aka change directory){/bold}

$ cd <FOLDERNAME>

{bold}Back out of a folder/directory{/bold}

$ cd ..

{bold}Back out all the way to the root directory{/bold}

$ cd

{bold}List the items in a folder{/bold}
$ ls

$ ls

{bold}Remove (delete) a file{/bold}

Expand All @@ -112,4 +112,4 @@
{bold}Remove (delete) a folder{/bold}

$ rm -rf <FOLDERNAME>

0 comments on commit 296e358

Please sign in to comment.