Skip to content

Commit 5e6746d

Browse files
authored
Added commad for uncommit changes
1 parent 7b490be commit 5e6746d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Git/Readme.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@
3434
- Commit tracks the previous commits as well to keep track all the previous commit, every commit had there own unique hash id to categorize unique commit.
3535
- **.gitignore** file
3636
- files which should not be tracked or some sensative info which we are not allow to expose over repo so we keep that file inside .gitignore file.
37-
37+
- For umCommit the changes which are not pushed use below command
38+
- ```git
39+
git reset --soft HEAD~1
40+
```
3841
3942
- *Branches*
4043
- Its like an alternaive timeline, always are on some branch

0 commit comments

Comments
 (0)