Skip to content

Commit 343285d

Browse files
committed
added step for reversing changes
1 parent df59ac3 commit 343285d

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

‎README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,16 @@ To update changes on github to your local machine use:
3232
> git pull origin <branch-name\>
3333
3434
To push changes on your local machine to github use
35-
> git push origin <branch-name\>
35+
> git push origin <branch-name\>
36+
37+
To view your present status use
38+
> git status
39+
40+
To view a list of all your tracked files use
41+
> git ls-files
42+
43+
To back out after creating a commit use
44+
> git reset HEAD <file-name\>
45+
46+
To discard all changes to a file use
47+
> git checkout -- <file-name\>

0 commit comments

Comments
 (0)