From 7ae43ce651a0585f447dbf2d595f458f9662ad11 Mon Sep 17 00:00:00 2001 From: Shubh Vachher Date: Tue, 24 Jan 2017 19:55:49 +0530 Subject: [PATCH 1/4] Notes Added --- notes_27_1_17.txt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 notes_27_1_17.txt diff --git a/notes_27_1_17.txt b/notes_27_1_17.txt new file mode 100644 index 0000000..95373ab --- /dev/null +++ b/notes_27_1_17.txt @@ -0,0 +1,8 @@ +git clone + Clones a repo from github onto your local system +git status + To view the untracked files and folders in the repository +git reset HEAD~1 + Moves repo back to the previous commit made + +Files ending with ~ are made by the text editor and will generally cease to exist as soon as the editor is closed From 63f03a7faf909e75de588897cb26350d600964e5 Mon Sep 17 00:00:00 2001 From: Shubh Vachher Date: Tue, 24 Jan 2017 20:26:13 +0530 Subject: [PATCH 2/4] Updated notes --- notes_27_1_17.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/notes_27_1_17.txt b/notes_27_1_17.txt index 95373ab..3905baa 100644 --- a/notes_27_1_17.txt +++ b/notes_27_1_17.txt @@ -4,5 +4,8 @@ git status To view the untracked files and folders in the repository git reset HEAD~1 Moves repo back to the previous commit made +git-remote -v + Lists the remotes linked to the repository + Files ending with ~ are made by the text editor and will generally cease to exist as soon as the editor is closed From 283969e255432f4ece40e8f83a4591911ab54861 Mon Sep 17 00:00:00 2001 From: Shubh Vachher Date: Tue, 24 Jan 2017 20:34:34 +0530 Subject: [PATCH 3/4] rebase trial another rebase trial Another rebase commit --- notes_27_1_17.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/notes_27_1_17.txt b/notes_27_1_17.txt index 3905baa..38ee61d 100644 --- a/notes_27_1_17.txt +++ b/notes_27_1_17.txt @@ -9,3 +9,12 @@ git-remote -v Files ending with ~ are made by the text editor and will generally cease to exist as soon as the editor is closed + +This is a trial for rebasing. +git rebase -i + i is for interactive rebasing + rebasing-squashing is merging two commits into one commit + +The commit log can be visualized as a linked list of commits +The latest git commit is called the HEAD +The second last commit is HEAD~1 From a4dfb4d305ed9de2b2d24cf04b3ff0ba2d60e69c Mon Sep 17 00:00:00 2001 From: Shubh Vachher Date: Tue, 24 Jan 2017 20:54:42 +0530 Subject: [PATCH 4/4] another rebase trialzz --- notes_27_1_17.txt | 1 + notes_27_1_17.txt~ | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 notes_27_1_17.txt~ diff --git a/notes_27_1_17.txt b/notes_27_1_17.txt index 38ee61d..567bfb9 100644 --- a/notes_27_1_17.txt +++ b/notes_27_1_17.txt @@ -18,3 +18,4 @@ git rebase -i The commit log can be visualized as a linked list of commits The latest git commit is called the HEAD The second last commit is HEAD~1 +Another trial diff --git a/notes_27_1_17.txt~ b/notes_27_1_17.txt~ new file mode 100644 index 0000000..38ee61d --- /dev/null +++ b/notes_27_1_17.txt~ @@ -0,0 +1,20 @@ +git clone + Clones a repo from github onto your local system +git status + To view the untracked files and folders in the repository +git reset HEAD~1 + Moves repo back to the previous commit made +git-remote -v + Lists the remotes linked to the repository + + +Files ending with ~ are made by the text editor and will generally cease to exist as soon as the editor is closed + +This is a trial for rebasing. +git rebase -i + i is for interactive rebasing + rebasing-squashing is merging two commits into one commit + +The commit log can be visualized as a linked list of commits +The latest git commit is called the HEAD +The second last commit is HEAD~1